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

Unified Diff: mojo/dbus/dbus_external_service.cc

Issue 502573006: Remove implicit conversions from scoped_refptr to T* in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
Index: mojo/dbus/dbus_external_service.cc
diff --git a/mojo/dbus/dbus_external_service.cc b/mojo/dbus/dbus_external_service.cc
index 65b4bf122a57eab2440eb97447b9c2a8903b2e1e..6b8d722959930825bdb6b8e794e58bfb1ce9165e 100644
--- a/mojo/dbus/dbus_external_service.cc
+++ b/mojo/dbus/dbus_external_service.cc
@@ -67,7 +67,7 @@ void DBusExternalServiceBase::ExportMethods() {
}
void DBusExternalServiceBase::InitializeDBus() {
- CHECK(!bus_);
+ CHECK(!bus_.get());
dbus::Bus::Options options;
options.bus_type = dbus::Bus::SESSION;
bus_ = new dbus::Bus(options);

Powered by Google App Engine
This is Rietveld 408576698