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

Issue 2543913002: Generalize visible descendant dirty bits to prepare for more properties. (Closed)

Created:
4 years ago by chrishtr
Modified:
4 years ago
Reviewers:
pdr., Xianzhu
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

Generalize visible descendant dirty bits to prepare for more properties. This will allow for a subsequent patch to move other descendant-dependent properties into the same tree walk. Also remove several redundant calls to update descendant-dependent flags (it should happen in exactly one tree walk per lifecycle update) and avoid reading stale state in potentiallyDirtyVisibleContentStatus. BUG=646188 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/6bbd055d68a54c04c41e87814d0d0be323a09ad0 Cr-Commit-Position: refs/heads/master@{#436045}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Total comments: 15

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Messages

Total messages: 45 (30 generated)
chrishtr
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text-expected.txt File third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text-expected.txt (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text-expected.txt#newcode1 third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text-expected.txt:1: Caption Caption is now visible.. https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text.html File third_party/WebKit/LayoutTests/compositing/contents-opaque/hidden-with-visible-text.html (right): ...
4 years ago (2016-12-01 16:13:37 UTC) #15
chrishtr
Also added a fix exhibited to two browser tests, in which the destructor for CompositedLayerMapping ...
4 years ago (2016-12-01 17:58:50 UTC) #18
Xianzhu
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode639 third_party/WebKit/Source/core/paint/PaintLayer.cpp:639: markAncestorChainForDescendantDependentFlagsUpdate(); This will also set m_needsDescendantDependentFlagsUpdate for |this|. Is ...
4 years ago (2016-12-01 17:59:32 UTC) #21
chrishtr
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode639 third_party/WebKit/Source/core/paint/PaintLayer.cpp:639: markAncestorChainForDescendantDependentFlagsUpdate(); On 2016/12/01 at 17:59:32, Xianzhu wrote: > This ...
4 years ago (2016-12-01 18:05:22 UTC) #22
Xianzhu
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1133 third_party/WebKit/Source/core/paint/PaintLayer.h:1133: unsigned m_needsDescendantDependentFlagsUpdate : 1; Can this be m_childNeedsDecendantDependengFlagsUpdate?
4 years ago (2016-12-01 18:05:25 UTC) #23
chrishtr
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1133 third_party/WebKit/Source/core/paint/PaintLayer.h:1133: unsigned m_needsDescendantDependentFlagsUpdate : 1; On 2016/12/01 at 18:05:25, Xianzhu ...
4 years ago (2016-12-01 18:06:01 UTC) #24
Xianzhu
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1133 third_party/WebKit/Source/core/paint/PaintLayer.h:1133: unsigned m_needsDescendantDependentFlagsUpdate : 1; On 2016/12/01 18:06:01, chrishtr wrote: ...
4 years ago (2016-12-01 18:07:03 UTC) #25
pdr.
On 2016/12/01 at 18:07:03, wangxianzhu wrote: > https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h > File third_party/WebKit/Source/core/paint/PaintLayer.h (right): > > https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1133 ...
4 years ago (2016-12-01 19:46:08 UTC) #28
chrishtr
https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2543913002/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1133 third_party/WebKit/Source/core/paint/PaintLayer.h:1133: unsigned m_needsDescendantDependentFlagsUpdate : 1; On 2016/12/01 at 18:07:03, Xianzhu ...
4 years ago (2016-12-01 23:54:20 UTC) #31
Xianzhu
lgtm
4 years ago (2016-12-02 00:05:17 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/2543913002/80001
4 years ago (2016-12-02 01:36:47 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/1648)
4 years ago (2016-12-02 02:59:45 UTC) #38
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/2543913002/100001
4 years ago (2016-12-02 20:39:16 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-02 22:12:50 UTC) #43
commit-bot: I haz the power
4 years ago (2016-12-02 22:17:02 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6bbd055d68a54c04c41e87814d0d0be323a09ad0
Cr-Commit-Position: refs/heads/master@{#436045}

Powered by Google App Engine
This is Rietveld 408576698