diff options
author | dcheng <dcheng@chromium.org> | 2014-08-26 15:52:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 22:57:16 +0000 |
commit | 319a2195e07b206341546b740686c5c744e40d3f (patch) | |
tree | f0531b57d177f511a57924fb32cef626c2141738 /chrome/service | |
parent | ea6b9eb600b0dd7892ecaac664d00fea5d35964e (diff) | |
download | chromium_src-319a2195e07b206341546b740686c5c744e40d3f.zip chromium_src-319a2195e07b206341546b740686c5c744e40d3f.tar.gz chromium_src-319a2195e07b206341546b740686c5c744e40d3f.tar.bz2 |
Remove implicit conversions from scoped_refptr to T* in chrome/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/511473002
Cr-Commit-Position: refs/heads/master@{#292012}
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_proxy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/cloud_print_proxy.cc b/chrome/service/cloud_print/cloud_print_proxy.cc index 6834eb9..f37ec1f 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()) |