Index: cc/trees/layer_tree_host_unittest_damage.cc |
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc |
index a5dbac8f485ae7b1795e4dd57722e7ebe3eb3d3f..266c75e0b495fa47a4472a85279ed40bfd58ad0a 100644 |
--- a/cc/trees/layer_tree_host_unittest_damage.cc |
+++ b/cc/trees/layer_tree_host_unittest_damage.cc |
@@ -340,6 +340,8 @@ class LayerTreeHostScrollbarDamageTest : public LayerTreeHostDamageTest { |
scoped_refptr<Layer> scroll_clip_layer = Layer::Create(); |
content_layer_ = FakePictureLayer::Create(&client_); |
+ content_layer_->SetElementId( |
+ LayerIdToElementIdForTesting(content_layer_->id())); |
content_layer_->SetScrollClipLayerId(scroll_clip_layer->id()); |
content_layer_->SetScrollOffset(gfx::ScrollOffset(10, 20)); |
content_layer_->SetBounds(gfx::Size(100, 200)); |