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

Issue 15820002: Page::chrome() should return a reference. (Closed)

Created:
7 years, 7 months ago by tkent
Modified:
7 years, 7 months ago
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, adamk+blink_chromium.org, pdr, aandrey+blink_chromium.org, caseq+blink_chromium.org, aboxhall, yurys+blink_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jchaffraix+rendering, kenneth.christiansen, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, dmazzoni, Nate Chapin, alph+blink_chromium.org, leviw+renderwatch, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, f(malita), Stephen Chennney, jeez
Visibility:
Public.

Description

Page::chrome() should return a reference. A Page's chrome() can never be null. Change Page::chrome() to return a reference to reflect this. Also, make Page::m_chrome a const member variable so nobody will accidentally set it to null. Merge http://trac.webkit.org/changeset/150214 by akling. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151153

Patch Set 1 : #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -131 lines) Patch
M Source/WebKit/chromium/src/AutofillPopupMenuClient.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/StorageNamespaceProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/src/WebPluginContainerImpl.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/WebKit/chromium/src/WebViewImpl.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/tests/ChromeClientImplTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AXObjectCache.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 7 chunks +8 lines, -8 lines 0 comments Download
M Source/core/editing/EditorCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/html/HTMLAnchorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFormControlElementWithState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/InputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/TextFieldInputType.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/PickerIndicatorElement.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/html/shadow/SpinButtonElement.cpp View 2 chunks +4 lines, -8 lines 0 comments Download
M Source/core/inspector/InspectorInputAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 10 chunks +17 lines, -18 lines 0 comments Download
M Source/core/page/BarProp.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/page/Chrome.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/Console.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/DOMWindow.cpp View 21 chunks +25 lines, -25 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/page/FocusController.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/page/Frame.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/page/FrameView.cpp View 1 8 chunks +8 lines, -8 lines 0 comments Download
M Source/core/page/Page.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/PageConsole.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/PointerLockController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/Settings.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/platform/chromium/PopupContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
tkent
7 years, 7 months ago (2013-05-23 22:50:17 UTC) #1
haraken
LGTM
7 years, 7 months ago (2013-05-24 00:02:44 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/3001
7 years, 7 months ago (2013-05-24 00:14:29 UTC) #3
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=7172
7 years, 7 months ago (2013-05-24 01:35:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/3001
7 years, 7 months ago (2013-05-24 02:32:14 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=9828
7 years, 7 months ago (2013-05-24 04:03:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/3001
7 years, 7 months ago (2013-05-24 10:28:35 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=10004
7 years, 7 months ago (2013-05-24 12:35:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/3001
7 years, 7 months ago (2013-05-24 17:27:15 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=6557
7 years, 7 months ago (2013-05-24 21:28:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/3001
7 years, 7 months ago (2013-05-24 22:04:05 UTC) #11
commit-bot: I haz the power
Failed to apply patch for Source/WebKit/chromium/src/WebViewImpl.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-24 22:04:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/47001
7 years, 7 months ago (2013-05-25 00:30:32 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=10222
7 years, 7 months ago (2013-05-25 01:57:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/47001
7 years, 7 months ago (2013-05-25 02:12:38 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=6645
7 years, 7 months ago (2013-05-25 05:18:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/15820002/47001
7 years, 7 months ago (2013-05-25 11:59:10 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-25 13:02:20 UTC) #18
Message was sent while issue was closed.
Change committed as 151153

Powered by Google App Engine
This is Rietveld 408576698