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

Unified Diff: dbus/exported_object.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (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 | « crypto/nss_key_util.cc ('k') | dbus/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/exported_object.cc
diff --git a/dbus/exported_object.cc b/dbus/exported_object.cc
index 3054c35f3c716e8922d1be74b5c787fdaa8d26cb..e4cd1a4219f8dc2ae6b976e8b594029d389f5208 100644
--- a/dbus/exported_object.cc
+++ b/dbus/exported_object.cc
@@ -5,6 +5,7 @@
#include "dbus/exported_object.h"
#include <stdint.h>
+#include <utility>
#include "base/bind.h"
#include "base/logging.h"
@@ -264,7 +265,7 @@ void ExportedObject::SendResponse(base::TimeTicks start_time,
base::Passed(&response),
start_time));
} else {
- OnMethodCompleted(method_call.Pass(), response.Pass(), start_time);
+ OnMethodCompleted(std::move(method_call), std::move(response), start_time);
}
}
« no previous file with comments | « crypto/nss_key_util.cc ('k') | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698