Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2875)

Unified Diff: cc/quads/render_pass_unittest.cc

Issue 1455023002: cc: Replace Pass() with std::move() in some subdirs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-cc
Patch Set: pass-cc2: . Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/resources/resource_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/resources/resource_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698