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

Issue 2854213004: Update layer size from LayoutBox::UpdateAfterLayout (Closed)

Created:
3 years, 7 months ago by szager1
Modified:
3 years, 7 months ago
Reviewers:
bokan, szager, skobes
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update layer size from LayoutBox::UpdateAfterLayout Previously, layer size was set during a post-layout call to PaintLayer::UpdateLayerPositions. With this change, layer size is updated during layout, as soon as the new size is available (after its owning LayoutBox has finished layout). BUG=701575 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2854213004 Cr-Commit-Position: refs/heads/master@{#472387} Committed: https://chromium.googlesource.com/chromium/src/+/2088149da693bad956c1b2f2fc4e58fa0eedbab8

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : Update layer size if position changes. #

Patch Set 5 : rebase #

Total comments: 11

Patch Set 6 : rebase #

Patch Set 7 : Sensible return value for PaintLayer::UpdateSize #

Patch Set 8 : Fix placement of inline comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -30 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 4 5 2 chunks +7 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 2 chunks +27 lines, -15 lines 0 comments Download

Messages

Total messages: 45 (32 generated)
szager1
This CL is the coup de grâce. It clears up all kinds of issues for ...
3 years, 7 months ago (2017-05-11 16:33:04 UTC) #18
bokan
https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode664 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:664: child.SetLocationAndUpdateOverflowControlsIfNeeded(new_location); Should we not do this for the SetLogicalTopForChild ...
3 years, 7 months ago (2017-05-12 15:58:18 UTC) #25
szager1
https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode664 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:664: child.SetLocationAndUpdateOverflowControlsIfNeeded(new_location); On 2017/05/12 15:58:17, bokan wrote: > Should we ...
3 years, 7 months ago (2017-05-12 19:12:13 UTC) #26
szager1
+skobes
3 years, 7 months ago (2017-05-16 18:59:40 UTC) #28
skobes
https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode334 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:334: // FIXME: We should call a specialized versions of ...
3 years, 7 months ago (2017-05-16 22:22:22 UTC) #29
szager
https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2854213004/diff/80001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode863 third_party/WebKit/Source/core/paint/PaintLayer.cpp:863: size_ = line_box.Size(); On 2017/05/16 22:22:22, skobes wrote: > ...
3 years, 7 months ago (2017-05-16 23:55:46 UTC) #31
skobes
lgtm
3 years, 7 months ago (2017-05-17 00:01:02 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/2854213004/140001
3 years, 7 months ago (2017-05-17 00:07:55 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/456766)
3 years, 7 months ago (2017-05-17 02:13:14 UTC) #36
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/2854213004/140001
3 years, 7 months ago (2017-05-17 02:36:50 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/456842)
3 years, 7 months ago (2017-05-17 04:06:13 UTC) #40
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/2854213004/140001
3 years, 7 months ago (2017-05-17 07:56:31 UTC) #42
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 08:39:52 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/2088149da693bad956c1b2f2fc4e...

Powered by Google App Engine
This is Rietveld 408576698