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

Unified Diff: mojo/services/tracing/trace_recorder_impl.cc

Issue 1539863002: Convert Pass()→std::move() in mojo/services/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missing forward declare that was masked by pre-existing incorrect #include ordering. 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 | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/tracing/tracing_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/trace_recorder_impl.cc
diff --git a/mojo/services/tracing/trace_recorder_impl.cc b/mojo/services/tracing/trace_recorder_impl.cc
index 493abb5e8a7b7ec8fcbe3380f2892e6113e04719..92dd95c40863e6f1765e7be1c22a5af2d6e92098 100644
--- a/mojo/services/tracing/trace_recorder_impl.cc
+++ b/mojo/services/tracing/trace_recorder_impl.cc
@@ -4,13 +4,14 @@
#include "mojo/services/tracing/trace_recorder_impl.h"
+#include <utility>
+
namespace tracing {
TraceRecorderImpl::TraceRecorderImpl(
mojo::InterfaceRequest<TraceRecorder> request,
TraceDataSink* sink)
- : sink_(sink), binding_(this, request.Pass()) {
-}
+ : sink_(sink), binding_(this, std::move(request)) {}
TraceRecorderImpl::~TraceRecorderImpl() {
}
« no previous file with comments | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/tracing/tracing_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698