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 69e1e72f9752e5857c800745e620b0800e302080..fff628b1cb352c4fa098aad77114422b27216568 100644 |
--- a/cc/trees/layer_tree_host_unittest_animation.cc |
+++ b/cc/trees/layer_tree_host_unittest_animation.cc |
@@ -1164,7 +1164,7 @@ class LayerTreeHostAnimationTestAnimationsAddedToNewAndExistingLayers |
layer_tree_host()->root_layer()->AddChild(layer); |
layer->set_layer_animation_delegate(this); |
layer->SetBounds(gfx::Size(4, 4)); |
- AddOpacityTransitionToLayer(layer, 1, 0.f, 0.5f, true); |
+ AddOpacityTransitionToLayer(layer.get(), 1, 0.f, 0.5f, true); |
} |
} |