Index: cc/trees/layer_tree_host_unittest_animation.cc |
diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc |
index 92c113e26b5e7149dd112805912469a14e8a91cd..6854b4cbed0837736b4b0d49218f7715f067661c 100644 |
--- a/cc/trees/layer_tree_host_unittest_animation.cc |
+++ b/cc/trees/layer_tree_host_unittest_animation.cc |
@@ -973,7 +973,7 @@ class LayerTreeHostAnimationTestScrollOffsetChangesArePropagated |
LayerTreeHostAnimationTest::SetupTree(); |
scroll_layer_ = FakeContentLayer::Create(&client_); |
- scroll_layer_->SetScrollable(true); |
+ scroll_layer_->SetScrollClipLayerId(layer_tree_host()->root_layer()->id()); |
scroll_layer_->SetBounds(gfx::Size(1000, 1000)); |
scroll_layer_->SetScrollOffset(gfx::Vector2d(10, 20)); |
layer_tree_host()->root_layer()->AddChild(scroll_layer_); |