summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/debug_daemon_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/debug_daemon_client.cc')
-rw-r--r--chromeos/dbus/debug_daemon_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/debug_daemon_client.cc b/chromeos/dbus/debug_daemon_client.cc
index c0f05ff..5358c94 100644
--- a/chromeos/dbus/debug_daemon_client.cc
+++ b/chromeos/dbus/debug_daemon_client.cc
@@ -567,7 +567,7 @@ class DebugDaemonClientImpl : public DebugDaemonClient {
scoped_ptr<dbus::FileDescriptor> file_descriptor(new dbus::FileDescriptor);
file_descriptor->PutValue(pipe_write_end.TakePlatformFile());
file_descriptor->CheckValidity();
- return file_descriptor.Pass();
+ return file_descriptor;
}
// Called when a CheckValidity response is received.