summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-01-20 07:52:00 -0800
committerAlex Vakulenko <avakulenko@google.com>2016-01-20 08:34:18 -0800
commitad918f037cc9b89c42f8a1e16017b800939e4cc5 (patch)
treeccd6cfe5585d253654c49e7254ef3a37c3a522c8
parent12fce61a4eebb5eab874ebbc48bb9a878bbd1065 (diff)
downloadcommon-ad918f037cc9b89c42f8a1e16017b800939e4cc5.tar.gz
dbus_example: Update libchrome APIs to r369476
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: I9de3130cc5c64a074b86d81d6980e4f7f6fbfc7a
-rw-r--r--dbus_example/dbus-example-daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus_example/dbus-example-daemon.cc b/dbus_example/dbus-example-daemon.cc
index b04464a..178a610 100644
--- a/dbus_example/dbus-example-daemon.cc
+++ b/dbus_example/dbus-example-daemon.cc
@@ -75,7 +75,7 @@ class Daemon {
dbus::MessageWriter writer(response.get());
writer.AppendInt32(token);
ALOGI("Replying to request with token %d", token);
- response_sender.Run(response.Pass());
+ response_sender.Run(std::move(response));
}
scoped_refptr<dbus::Bus> bus_;