Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / service / cloud_print / cloud_print_proxy.cc
index 6834eb9..f37ec1f 100644 (file)
@@ -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())