Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index 1efc1103bbe68e7059663230f0d2e8d4deed171f..82e34fac1ec028ad13e19b0c969c658957378103 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -7852,9 +7852,9 @@ TEST_F(LayerTreeHostCommonTest, MaximumAnimationScaleFactor) { |
AnimationScaleFactorTrackingLayerImpl* child_raw = child.get(); |
AnimationScaleFactorTrackingLayerImpl* grand_child_raw = grand_child.get(); |
- child->AddChild(grand_child.PassAs<LayerImpl>()); |
- parent->AddChild(child.PassAs<LayerImpl>()); |
- grand_parent->AddChild(parent.PassAs<LayerImpl>()); |
+ child->AddChild(grand_child.Pass()); |
+ parent->AddChild(child.Pass()); |
+ grand_parent->AddChild(parent.Pass()); |
SetLayerPropertiesForTesting(grand_parent.get(), |
identity_matrix, |