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

Issue 2123663003: Moved RootFrameViewport creation to happen after document attachment (Closed)

Created:
4 years, 5 months ago by bokan
Modified:
4 years, 5 months ago
Reviewers:
tdresser
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moved RootFrameViewport creation to happen after document attachment I previously placed this to happen just before the first layout but that was overly conservative; we really just need the document to be attached. This will allow constructing a ViewportScrollCallback for a FrameView in just one place for both root and nested frames. This will be needed in the setRootScroller proposal in future patches. BUG=505516 Committed: https://crrev.com/3efe8736a302182bff2e9101044fd8e15668bbb6 Cr-Commit-Position: refs/heads/master@{#403973}

Patch Set 1 #

Patch Set 2 : Moved RootFrameViewport creation to happen after document attachment #

Patch Set 3 : Moved RootFrameViewport creation to happen after document attachment #

Total comments: 2

Patch Set 4 : Moved RootFrameViewport creation to happen after document attachment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 2 chunks +11 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123663003/1
4 years, 5 months ago (2016-07-05 18:44:55 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/91781)
4 years, 5 months ago (2016-07-05 18:58:20 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123663003/20001
4 years, 5 months ago (2016-07-05 19:06:25 UTC) #6
commit-bot: I haz the power
Dry run: 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/196599)
4 years, 5 months ago (2016-07-05 19:33:41 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123663003/40001
4 years, 5 months ago (2016-07-05 21:00:43 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 22:31:43 UTC) #12
bokan
Tim, ptal. This is the first in a series of 3 patches to make the ...
4 years, 5 months ago (2016-07-06 17:53:09 UTC) #15
tdresser
On 2016/07/06 17:53:09, bokan wrote: > Tim, ptal. This is the first in a series ...
4 years, 5 months ago (2016-07-06 18:16:15 UTC) #16
tdresser
https://codereview.chromium.org/2123663003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2123663003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode2126 third_party/WebKit/Source/core/dom/Document.cpp:2126: frameView->didAttachDocument(); I'd be just as happy with: if (view()) ...
4 years, 5 months ago (2016-07-06 18:28:33 UTC) #17
bokan
On 2016/07/06 18:16:15, tdresser wrote: > On 2016/07/06 17:53:09, bokan wrote: > > Tim, ptal. ...
4 years, 5 months ago (2016-07-06 18:41:04 UTC) #19
bokan
On 2016/07/06 18:41:04, bokan wrote: > On 2016/07/06 18:16:15, tdresser wrote: > > On 2016/07/06 ...
4 years, 5 months ago (2016-07-06 18:43:45 UTC) #20
bokan
https://codereview.chromium.org/2123663003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2123663003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode2126 third_party/WebKit/Source/core/dom/Document.cpp:2126: frameView->didAttachDocument(); On 2016/07/06 18:28:33, tdresser wrote: > I'd be ...
4 years, 5 months ago (2016-07-06 18:43:52 UTC) #21
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/2123663003/60001
4 years, 5 months ago (2016-07-06 18:45:05 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/99310)
4 years, 5 months ago (2016-07-06 22:08:44 UTC) #26
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/2123663003/60001
4 years, 5 months ago (2016-07-06 22:10:25 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-06 23:27:59 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 23:28:07 UTC) #31
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 23:30:41 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3efe8736a302182bff2e9101044fd8e15668bbb6
Cr-Commit-Position: refs/heads/master@{#403973}

Powered by Google App Engine
This is Rietveld 408576698