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

Issue 2897703002: DCHECK that property tree access is safe in LayerTreeImpl::DidUpdateScrollState (Closed)

Created:
3 years, 7 months ago by pdr.
Modified:
3 years, 7 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DCHECK that property tree access is safe in LayerTreeImpl::DidUpdateScrollState This patch adds a DCHECK in LayerTreeImpl::DidUpdateScrollState that property trees are synced and can be used. This required changing PushPropertiesCountingLayerImpl to not call SetBounds in the ctor which was not actually needed because the value would get synced. This patch doesn't change behavior and just prepares for a future patch which will use the scroll property tree to look up a LayerImpl's scroll bounds instead of accessing this through scroll_clip_layer (e.g., clip_size in LayerTreeImpl::UpdateScrollbars). BUG=723263 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2897703002 Cr-Commit-Position: refs/heads/master@{#473320} Committed: https://chromium.googlesource.com/chromium/src/+/bf7130daaa2be71bdf491a8ae09685551ed98615

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M cc/test/push_properties_counting_layer_impl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
pdr.
3 years, 7 months ago (2017-05-19 18:36:00 UTC) #3
enne (OOO)
lgtm
3 years, 7 months ago (2017-05-19 19:41:42 UTC) #6
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/2897703002/1
3 years, 7 months ago (2017-05-19 21:13:54 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 21:19:30 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bf7130daaa2be71bdf491a8ae096...

Powered by Google App Engine
This is Rietveld 408576698