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

Unified Diff: cc/layers/video_layer_impl_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/layers/video_layer.cc ('k') | cc/output/bsp_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl_unittest.cc
diff --git a/cc/layers/video_layer_impl_unittest.cc b/cc/layers/video_layer_impl_unittest.cc
index 6efe46defdf9b0ae8f8860e22857ac05e2208bf9..f8458d9b54f99a27e25c17bf1d732d55452a4bb4 100644
--- a/cc/layers/video_layer_impl_unittest.cc
+++ b/cc/layers/video_layer_impl_unittest.cc
@@ -105,8 +105,8 @@ TEST(VideoLayerImplTest, OccludesOtherLayers) {
video_layer_impl->SetDrawsContent(true);
video_layer_impl->SetContentsOpaque(true);
- layer_impl->AddChild(video_layer_impl.Pass());
- active_tree->SetRootLayer(layer_impl.Pass());
+ layer_impl->AddChild(std::move(video_layer_impl));
+ active_tree->SetRootLayer(std::move(layer_impl));
active_tree->BuildPropertyTreesForTesting();
« no previous file with comments | « cc/layers/video_layer.cc ('k') | cc/output/bsp_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698