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

Issue 2667373002: Ensure PaintArtifactCompositor assigns a scroll tree index to all cc layers (Closed)

Created:
3 years, 10 months ago by pdr.
Modified:
3 years, 10 months ago
Reviewers:
wkorman
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure PaintArtifactCompositor assigns a scroll tree index to all cc layers [1] introduced a bug where the scroll tree index of a cc layer would only be set for scrolling layers, and left as -1 otherwise. This introduced a crash when doing impl-side hit testing for scroll events. This patch extracts the nearestScrollNode logic from PaintLayer.cpp and uses it for both PaintLayer and PaintArtifactCompositor. A comment has been added warning of the performance implications. [1] https://chromium.googlesource.com/chromium/src/+/3eee970eb6757c6ea3997e0722d7bab727b9c11c BUG=687019 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2667373002 Cr-Commit-Position: refs/heads/master@{#447854} Committed: https://chromium.googlesource.com/chromium/src/+/06f6cd0653d33dc0e087cf3aede5df399ffc9db0

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -34 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 2 chunks +10 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 chunk +41 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
pdr.
https://codereview.chromium.org/2667373002/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp (right): https://codereview.chromium.org/2667373002/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp#newcode745 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp:745: EXPECT_EQ(scrollTransformNode.id, contentLayerAt(0)->transform_tree_index()); There is not yet any end-to-end infrastructure ...
3 years, 10 months ago (2017-02-02 04:22:32 UTC) #4
wkorman
lgtm
3 years, 10 months ago (2017-02-02 21:37:29 UTC) #7
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/2667373002/1
3 years, 10 months ago (2017-02-02 21:57:17 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 22:05:32 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/06f6cd0653d33dc0e087cf3aede5...

Powered by Google App Engine
This is Rietveld 408576698