Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2624)

Unified Diff: dbus/object_proxy.h

Issue 8201023: Make ExportedObject and ObjectProxy own Bus as scoped_refptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/exported_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_proxy.h
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h
index a950e941188633671c0897f71a1d7027ee86d137..5fc41979a8faa3d70794fbf6352a9b6323fb425c 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -175,7 +175,7 @@ class ObjectProxy : public base::RefCountedThreadSafe<ObjectProxy> {
DBusMessage* raw_message,
void* user_data);
- Bus* bus_;
+ scoped_refptr<Bus> bus_;
std::string service_name_;
std::string object_path_;
« no previous file with comments | « dbus/exported_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698