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

Unified Diff: content/common/cc_messages.cc

Issue 1544293002: Convert Pass()→std::move() in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « content/child/webmessageportchannel_impl.cc ('k') | content/common/cc_messages_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index e31067d2b87d0f54d39865b43541c719755dc03b..70729469c7c54d2eb5f312ac6dd568c8803c9e69 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -5,6 +5,7 @@
#include "content/common/cc_messages.h"
#include <stddef.h>
+#include <utility>
#include "cc/output/compositor_frame.h"
#include "cc/output/filter_operations.h"
@@ -728,7 +729,7 @@ bool ParamTraits<cc::DelegatedFrameData>::Read(const Message* m,
return false;
}
pass_set.insert(render_pass->id);
- p->render_pass_list.push_back(render_pass.Pass());
+ p->render_pass_list.push_back(std::move(render_pass));
}
return true;
}
« no previous file with comments | « content/child/webmessageportchannel_impl.cc ('k') | content/common/cc_messages_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698