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 a5513c7e2910dd72d7ef78b0bcf97b4991af4beb..b6b585c483c170da1f5ad08cc08a2c02bdab014f 100644 |
--- a/cc/trees/layer_tree_host_unittest_animation.cc |
+++ b/cc/trees/layer_tree_host_unittest_animation.cc |
@@ -490,7 +490,9 @@ class LayerTreeHostAnimationTestLayerAddedWithAnimation |
AttachPlayersToTimeline(); |
scoped_refptr<Layer> layer = Layer::Create(); |
- layer->SetElementId(ElementId(42, 0)); |
+ ElementId element_id; |
+ element_id.id = 42; |
+ layer->SetElementId(element_id); |
player_->AttachElement(layer->element_id()); |
player_->set_animation_delegate(this); |