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

Unified Diff: cc/output/compositor_frame.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/output/bsp_tree_unittest.cc ('k') | cc/output/copy_output_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame.cc
diff --git a/cc/output/compositor_frame.cc b/cc/output/compositor_frame.cc
index e612b28cfad3e3ef0d4cadd79eb8f689b33ed6b1..f096a387b5cc82feb88cc12cd32cfcfa7e0b1d2f 100644
--- a/cc/output/compositor_frame.cc
+++ b/cc/output/compositor_frame.cc
@@ -11,8 +11,8 @@ CompositorFrame::CompositorFrame() {}
CompositorFrame::~CompositorFrame() {}
void CompositorFrame::AssignTo(CompositorFrame* target) {
- target->delegated_frame_data = delegated_frame_data.Pass();
- target->gl_frame_data = gl_frame_data.Pass();
+ target->delegated_frame_data = std::move(delegated_frame_data);
+ target->gl_frame_data = std::move(gl_frame_data);
target->metadata = metadata;
}
« no previous file with comments | « cc/output/bsp_tree_unittest.cc ('k') | cc/output/copy_output_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698