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

Issue 2585603002: [SPInvaldation] Update subtree paint properties when a layout subtree is inserted (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPInvaldation] Update subtree paint properties when a layout subtree is inserted Add LayoutObject::subtreeNeedsPaintPropertyUpdate() and set it in LayoutObjectChildList::addChild() to force paint property update of the whole subtree. BUG=645667 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/f70b47902bd95e111862265afa513926d777fd20 Cr-Commit-Position: refs/heads/master@{#439193}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Separate out printing change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 6 chunks +26 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FindPropertiesNeedingUpdate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (11 generated)
Xianzhu
Haven't found another way to deal with this. Some descendant of a moved subtree may ...
4 years ago (2016-12-16 01:00:04 UTC) #3
pdr.
https://codereview.chromium.org/2585603002/diff/1/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp File third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp (right): https://codereview.chromium.org/2585603002/diff/1/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp#newcode187 third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp:187: newChild->setSubtreeNeedsPaintPropertyUpdate(); WDYT of making this more explicit by using ...
4 years ago (2016-12-16 02:17:28 UTC) #7
Xianzhu
https://codereview.chromium.org/2585603002/diff/1/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp File third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp (right): https://codereview.chromium.org/2585603002/diff/1/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp#newcode187 third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp:187: newChild->setSubtreeNeedsPaintPropertyUpdate(); On 2016/12/16 02:17:28, pdr. wrote: > WDYT of ...
4 years ago (2016-12-16 17:24:57 UTC) #10
chrishtr
Please get pdr's LGTM also. I think this approach is ok for the reasons stated ...
4 years ago (2016-12-16 18:40:38 UTC) #11
chrishtr
lgtm
4 years ago (2016-12-16 18:40:40 UTC) #12
pdr.
On 2016/12/16 at 18:40:40, chrishtr wrote: > lgtm lgtm
4 years ago (2016-12-16 21:14:56 UTC) #13
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/2585603002/20001
4 years ago (2016-12-16 21:24:19 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-16 21:39:45 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-16 21:42:12 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f70b47902bd95e111862265afa513926d777fd20
Cr-Commit-Position: refs/heads/master@{#439193}

Powered by Google App Engine
This is Rietveld 408576698