Index: cc/quads/render_pass_unittest.cc |
diff --git a/cc/quads/render_pass_unittest.cc b/cc/quads/render_pass_unittest.cc |
index d4c0bc76b86dd3093555b73e5ce80fbc09c79371..f00c006e7e9069abec4b0ba6813368f0ae503950 100644 |
--- a/cc/quads/render_pass_unittest.cc |
+++ b/cc/quads/render_pass_unittest.cc |
@@ -220,8 +220,8 @@ TEST(RenderPassTest, CopyAllShouldBeIdentical) { |
gfx::Vector2dF(), |
FilterOperations()); |
- pass_list.push_back(pass.Pass()); |
- pass_list.push_back(contrib.Pass()); |
+ pass_list.push_back(std::move(pass)); |
+ pass_list.push_back(std::move(contrib)); |
// Make a copy with CopyAll(). |
RenderPassList copy_list; |
@@ -303,7 +303,7 @@ TEST(RenderPassTest, CopyAllWithCulledQuads) { |
gfx::Rect(3, 3, 3, 3), gfx::Rect(3, 3, 3, 3), SkColor(), |
false); |
- pass_list.push_back(pass.Pass()); |
+ pass_list.push_back(std::move(pass)); |
// Make a copy with CopyAll(). |
RenderPassList copy_list; |