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

Unified Diff: chrome/service/cloud_print/cloud_print_proxy.cc

Issue 511473002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move download out 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: chrome/service/cloud_print/cloud_print_proxy.cc
diff --git a/chrome/service/cloud_print/cloud_print_proxy.cc b/chrome/service/cloud_print/cloud_print_proxy.cc
index 6834eb91be8fd7d98e6729c0ee58775e6aa3cebe..f37ec1f3dae96ec0cb7c290ff99684d68bc964af 100644
--- a/chrome/service/cloud_print/cloud_print_proxy.cc
+++ b/chrome/service/cloud_print/cloud_print_proxy.cc
@@ -199,7 +199,7 @@ void CloudPrintProxy::GetPrinters(std::vector<std::string>* printers) {
settings.InitFrom(service_prefs_);
scoped_refptr<PrintSystem> print_system =
PrintSystem::CreateInstance(settings.print_system_settings());
- if (!print_system)
+ if (!print_system.get())
return;
PrintSystem::PrintSystemResult result = print_system->Init();
if (!result.succeeded())
« no previous file with comments | « chrome/common/net/x509_certificate_model_unittest.cc ('k') | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698