Index: dbus/object_proxy.h |
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h |
index 801c57753fb18ee3064bd21cfb9b9900dac35586..61576e6b73a7cb30f7255db2e3520a2c936bfd31 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. |
// |