diff options
author | sunxd <sunxd@chromium.org> | 2016-02-22 15:01:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-22 23:02:33 +0000 |
commit | 54e08e9da76808053379283f1ee3fdb1c0293c8d (patch) | |
tree | d2a355dfd0e3b4cf4f91d2f2482703f3041d6d47 /cc/trees/layer_tree_host_impl_unittest.cc | |
parent | dba7978c80ce7135d4d955a95af525d411524b1f (diff) | |
download | chromium_src-54e08e9da76808053379283f1ee3fdb1c0293c8d.zip chromium_src-54e08e9da76808053379283f1ee3fdb1c0293c8d.tar.gz chromium_src-54e08e9da76808053379283f1ee3fdb1c0293c8d.tar.bz2 |
cc: Replace LayerImpl with ScrollNode when updating scrolling info.
ScrollState, DistributeScrollDelta and ScrollAnimated use scroll_node
instead of LayerImpl.
Move user_scrollable, clip_height and currently_scrolling_layer to
scroll_tree.
Use scroll_node->owner_id to create animation, but still use LayerImpl
for the deprecated LayerAnimationController code path.
LayerImpl::scroll_offset_ is the only left-over.
BUG=568830
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1708763002
Cr-Commit-Position: refs/heads/master@{#376838}
Diffstat (limited to 'cc/trees/layer_tree_host_impl_unittest.cc')
-rw-r--r-- | cc/trees/layer_tree_host_impl_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc index 1463023..8cae5804 100644 --- a/cc/trees/layer_tree_host_impl_unittest.cc +++ b/cc/trees/layer_tree_host_impl_unittest.cc @@ -9520,6 +9520,7 @@ TEST_F(LayerTreeHostImplTimelinesTest, ScrollAnimatedNotUserScrollable) { host_impl_->OuterViewportScrollLayer()->set_user_scrollable_vertical(true); host_impl_->OuterViewportScrollLayer()->set_user_scrollable_horizontal(false); + SetNeedsRebuildPropertyTrees(); DrawFrame(); base::TimeTicks start_time = |