DescriptionDCHECK 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 #
Messages
Total messages: 13 (9 generated)
|