Chromium Code Reviews
DescriptionEnsure 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
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||