Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Issue 2913613003: Made WebFactory::SetInstance private (Closed)

Created:
3 years, 6 months ago by sashab
Modified:
3 years, 6 months ago
Reviewers:
slangley, dcheng
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Made WebFactory::SetInstance private Made WebFactory::SetInstance private and only allowed WebFactoryImpl to call it, through a new Initialize() method. BUG=712963 Review-Url: https://codereview.chromium.org/2913613003 Cr-Commit-Position: refs/heads/master@{#476055} Committed: https://chromium.googlesource.com/chromium/src/+/9019e7b1f9e536c2b9cc8ea7dcf22c89f9d3a0ac

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review feedback #

Patch Set 3 : Moved to be protected #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M third_party/WebKit/Source/core/exported/WebFactory.h View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebFactoryImpl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFactoryImpl.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebKit.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (15 generated)
sashab
3 years, 6 months ago (2017-05-30 04:01:48 UTC) #4
slangley
lgtm
3 years, 6 months ago (2017-05-30 04:02:56 UTC) #5
dcheng
https://codereview.chromium.org/2913613003/diff/1/third_party/WebKit/Source/core/exported/WebFactory.h File third_party/WebKit/Source/core/exported/WebFactory.h (right): https://codereview.chromium.org/2913613003/diff/1/third_party/WebKit/Source/core/exported/WebFactory.h#newcode14 third_party/WebKit/Source/core/exported/WebFactory.h:14: class WebFactoryImpl; Nit: a separate forward declare isn't needed ...
3 years, 6 months ago (2017-05-30 05:01:51 UTC) #6
sashab
dcheng ptal https://codereview.chromium.org/2913613003/diff/1/third_party/WebKit/Source/core/exported/WebFactory.h File third_party/WebKit/Source/core/exported/WebFactory.h (right): https://codereview.chromium.org/2913613003/diff/1/third_party/WebKit/Source/core/exported/WebFactory.h#newcode14 third_party/WebKit/Source/core/exported/WebFactory.h:14: class WebFactoryImpl; On 2017/05/30 at 05:01:51, dcheng ...
3 years, 6 months ago (2017-05-31 01:50:32 UTC) #9
sashab
Oops; just realized what you meant by protected. Removed the "friend class" part and just ...
3 years, 6 months ago (2017-05-31 01:55:59 UTC) #12
dcheng
lgtm
3 years, 6 months ago (2017-05-31 17:04:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2913613003/40001
3 years, 6 months ago (2017-05-31 22:07:02 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 22:12:01 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9019e7b1f9e536c2b9cc8ea7dcf2...

Powered by Google App Engine
This is Rietveld 408576698