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

Issue 2732363003: Make TopDocumentRootScrollerController store Page instead of FrameHost (Closed)

Created:
3 years, 9 months ago by sashab
Modified:
3 years, 9 months ago
Reviewers:
haraken, joelhockey
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews, kenneth.christiansen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make TopDocumentRootScrollerController store Page instead of FrameHost This is pre-work to move FrameHost::m_topDocumentRootScrollerController to Page. BUG=691794 Review-Url: https://codereview.chromium.org/2732363003 Cr-Commit-Position: refs/heads/master@{#455980} Committed: https://chromium.googlesource.com/chromium/src/+/32fbfd186648b908ee1f708b6a95f1308f52e308

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review feedback #

Total comments: 4

Patch Set 3 : Rebase and review feedback #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -27 lines) Patch
M third_party/WebKit/Source/core/frame/FrameHost.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp View 1 2 3 5 chunks +15 lines, -22 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 38 (26 generated)
sashab
3 years, 9 months ago (2017-03-08 04:14:17 UTC) #3
joelhockey
https://codereview.chromium.org/2732363003/diff/1/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp File third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp (right): https://codereview.chromium.org/2732363003/diff/1/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp#newcode177 third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp:177: return toLocalFrame(m_page->frameHost().page().mainFrame())->document(); I think these references of m_page->frameHost.page() could ...
3 years, 9 months ago (2017-03-08 04:36:01 UTC) #7
sashab
https://codereview.chromium.org/2732363003/diff/1/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp File third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp (right): https://codereview.chromium.org/2732363003/diff/1/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp#newcode177 third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp:177: return toLocalFrame(m_page->frameHost().page().mainFrame())->document(); On 2017/03/08 at 04:36:00, joelhockey wrote: > ...
3 years, 9 months ago (2017-03-08 05:02:37 UTC) #8
joelhockey
lgtm https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp File third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp (right): https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp#newcode174 third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp:174: return nullptr; It would make a lot of ...
3 years, 9 months ago (2017-03-08 06:02:52 UTC) #13
haraken
LGTM https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h File third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h (right): https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h#newcode109 third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h:109: WeakMember<Page> m_page; Not related to this CL, I ...
3 years, 9 months ago (2017-03-08 06:15:48 UTC) #15
sashab
Thanks for the great feedback everyone! https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp File third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp (right): https://codereview.chromium.org/2732363003/diff/20001/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp#newcode174 third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp:174: return nullptr; On ...
3 years, 9 months ago (2017-03-08 23:39:31 UTC) #18
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/2732363003/40001
3 years, 9 months ago (2017-03-09 03:15:55 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/381631)
3 years, 9 months ago (2017-03-09 03:22:51 UTC) #27
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/2732363003/60001
3 years, 9 months ago (2017-03-09 03:26:58 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/336938)
3 years, 9 months ago (2017-03-09 04:18:43 UTC) #32
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/2732363003/80001
3 years, 9 months ago (2017-03-10 01:57:50 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 03:53:24 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/32fbfd186648b908ee1f708b6a95...

Powered by Google App Engine
This is Rietveld 408576698