You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleanup the Layer::SetScrollOffset{FromImplSide} property tree fast-path
This patch updates Layer::SetScrollOffset{FromImplSide} to clarify how the
scroll offset fast-path works:
1) Existing property nodes are updated if they exist without invalidating
the property trees.
2) If no existing property nodes exist, the property trees should already be
marked as needig a full rebuild which will update the scroll offset.
DCHECKs have been added to clarify:
* SetScrollOffset should not be called for non-scrollable Layers.
* The scroll transform node does not need to be looked up using layer ids
because it is available via the Layer's transform_node_index().
This patch removes two users of transform node's owning layer id.
BUG=693740
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2877673002
Cr-Commit-Position: refs/heads/master@{#471490}
0 commit comments