Index: cc/layers/picture_image_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc |
index 58d7004377985d71fbfb188c3cf5b329c3d2a15b..b886e29b09dd2bbb078e211a5076274a4a307a9c 100644 |
--- a/cc/layers/picture_image_layer_impl_unittest.cc |
+++ b/cc/layers/picture_image_layer_impl_unittest.cc |
@@ -133,7 +133,7 @@ TEST_F(PictureImageLayerImplTest, IgnoreIdealContentScale) { |
EXPECT_EQ(1.f, pending_layer->tilings()->tiling_at(0)->contents_scale()); |
// Push to active layer. |
- host_impl_.pending_tree()->SetRootLayer(pending_layer.Pass()); |
+ host_impl_.pending_tree()->SetRootLayer(std::move(pending_layer)); |
host_impl_.ActivateSyncTree(); |
TestablePictureImageLayerImpl* active_layer = |