Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DCHECK that property tree access is safe in LayerTreeImpl::DidUpdateS…
…crollState 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}
- Loading branch information