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

Issue 2611233003: When setting needsRepaint, don't stop at non-stacking composited PaintLayers. (Closed)

Created:
3 years, 11 months ago by chrishtr
Modified:
3 years, 11 months ago
Reviewers:
Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, 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

When setting needsRepaint, don't stop at non-stacking composited PaintLayers. Content may paint into an ancestor graphics layer. BUG=675205 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2611233003 Cr-Commit-Position: refs/heads/master@{#442444} Committed: https://chromium.googlesource.com/chromium/src/+/ad9aa972891607894db3a60370afd8b19445df0c

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Total comments: 6

Patch Set 10 : none #

Patch Set 11 : none #

Patch Set 12 : none #

Patch Set 13 : none #

Total comments: 4

Patch Set 14 : none #

Messages

Total messages: 34 (22 generated)
chrishtr
3 years, 11 months ago (2017-01-07 00:56:12 UTC) #5
Xianzhu
lgtm https://codereview.chromium.org/2611233003/diff/160001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2611233003/diff/160001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode922 third_party/WebKit/Source/core/paint/PaintLayer.cpp:922: return m_layoutObject->containingBlock()->enclosingLayer(); Please add a comment why we ...
3 years, 11 months ago (2017-01-07 01:04:47 UTC) #8
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/2611233003/180001
3 years, 11 months ago (2017-01-07 01:12:28 UTC) #11
chrishtr
Also added a layout test to check crashing. https://codereview.chromium.org/2611233003/diff/160001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2611233003/diff/160001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode922 third_party/WebKit/Source/core/paint/PaintLayer.cpp:922: return ...
3 years, 11 months ago (2017-01-07 01:15:00 UTC) #15
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/2611233003/220001
3 years, 11 months ago (2017-01-07 01:15:13 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/343997)
3 years, 11 months ago (2017-01-07 02:14:23 UTC) #18
chrishtr
Also update GraphicsLayerUpdater to use the same logic. It does reduce peformance for floating elements, ...
3 years, 11 months ago (2017-01-09 19:42:24 UTC) #21
Xianzhu
https://codereview.chromium.org/2611233003/diff/240001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (right): https://codereview.chromium.org/2611233003/diff/240001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#newcode60 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:60: return layer.layoutObject()->containingBlock()->enclosingLayer(); Two comments: 1. For performance we can ...
3 years, 11 months ago (2017-01-09 20:04:15 UTC) #22
chrishtr
https://codereview.chromium.org/2611233003/diff/240001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (right): https://codereview.chromium.org/2611233003/diff/240001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#newcode60 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:60: return layer.layoutObject()->containingBlock()->enclosingLayer(); On 2017/01/09 at 20:04:14, Xianzhu wrote: > ...
3 years, 11 months ago (2017-01-09 23:28:33 UTC) #25
Xianzhu
lgtm
3 years, 11 months ago (2017-01-09 23:37:15 UTC) #28
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/2611233003/260001
3 years, 11 months ago (2017-01-09 23:38:58 UTC) #31
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 01:44:25 UTC) #34
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/ad9aa972891607894db3a60370af...

Powered by Google App Engine
This is Rietveld 408576698