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

Issue 2638223003: Root layer scrolling: fix element ID collision. (Closed)

Created:
3 years, 11 months ago by skobes
Modified:
3 years, 11 months ago
Reviewers:
szager1
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews, cbiesinger
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Root layer scrolling: fix element ID collision. We were giving PLC::m_scrollLayer and CLM::m_scrollingContentsLayer the same CompositorElementId. This caused crashes when scrolling because we look up the layer by the element ID in LTHI::SetTreeLayerScrollOffsetMutated, and sometimes find the wrong one. (In http://crrev.com/444407 I have also added a DCHECK for this condition in the LayerTreeImpl.) BUG=673963 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2638223003 Cr-Commit-Position: refs/heads/master@{#444525} Committed: https://chromium.googlesource.com/chromium/src/+/5c1e664a82399b427466ab057edbc3d0cacc09d3

Patch Set 1 #

Total comments: 2

Patch Set 2 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
skobes
3 years, 11 months ago (2017-01-18 04:05:45 UTC) #6
szager1
lgtm w/nit https://codereview.chromium.org/2638223003/diff/1/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2638223003/diff/1/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1139 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:1139: // In RLS mode, LayoutView's scrolling contents ...
3 years, 11 months ago (2017-01-18 21:20:54 UTC) #10
skobes
https://codereview.chromium.org/2638223003/diff/1/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2638223003/diff/1/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1139 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:1139: // In RLS mode, LayoutView's scrolling contents layer gets ...
3 years, 11 months ago (2017-01-18 21:24:38 UTC) #11
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/2638223003/20001
3 years, 11 months ago (2017-01-18 21:25:12 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 22:55:48 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5c1e664a82399b427466ab057edb...

Powered by Google App Engine
This is Rietveld 408576698