summaryrefslogtreecommitdiffstats
path: root/dbus/exported_object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/exported_object.cc')
-rw-r--r--dbus/exported_object.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/exported_object.cc b/dbus/exported_object.cc
index 3054c35..e4cd1a4 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);
}
}