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); |
} |
} |