summaryrefslogtreecommitdiffstats
path: root/dbus/object_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/object_proxy.h')
-rw-r--r--dbus/object_proxy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h
index 801c577..61576e6 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -81,11 +81,10 @@ class CHROME_DBUS_EXPORT ObjectProxy
// Calls the method of the remote object and blocks until the response
// is returned. Returns NULL on error.
- // The caller is responsible to delete the returned object.
//
// BLOCKING CALL.
- virtual Response* CallMethodAndBlock(MethodCall* method_call,
- int timeout_ms);
+ virtual scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call,
+ int timeout_ms);
// Requests to call the method of the remote object.
//