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

Unified Diff: mojo/services/tracing/public/cpp/tracing_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/public/cpp/trace_provider_impl.cc ('k') | mojo/services/tracing/trace_data_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/public/cpp/tracing_impl.cc
diff --git a/mojo/services/tracing/public/cpp/tracing_impl.cc b/mojo/services/tracing/public/cpp/tracing_impl.cc
index eed10f28bb36137935572abbc1f324e0927ef23a..4b0872d9102984fdf918f0e60e56a7be82a38e96 100644
--- a/mojo/services/tracing/public/cpp/tracing_impl.cc
+++ b/mojo/services/tracing/public/cpp/tracing_impl.cc
@@ -4,6 +4,8 @@
#include "mojo/services/tracing/public/cpp/tracing_impl.h"
+#include <utility>
+
#include "base/lazy_instance.h"
#include "base/synchronization/lock.h"
#include "base/threading/platform_thread.h"
@@ -66,7 +68,7 @@ void TracingImpl::Initialize(ApplicationImpl* app) {
void TracingImpl::Create(ApplicationConnection* connection,
InterfaceRequest<tracing::TraceProvider> request) {
- provider_impl_.Bind(request.Pass());
+ provider_impl_.Bind(std::move(request));
}
} // namespace mojo
« no previous file with comments | « mojo/services/tracing/public/cpp/trace_provider_impl.cc ('k') | mojo/services/tracing/trace_data_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698