| Index: chrome/browser/printing/print_system_task_proxy.cc
|
| diff --git a/chrome/browser/printing/print_system_task_proxy.cc b/chrome/browser/printing/print_system_task_proxy.cc
|
| index e3a924fd55c60ff7e98a2800dd256197555f093a..0868c1dbb778983aae5608b295a15ec8516953ec 100644
|
| --- a/chrome/browser/printing/print_system_task_proxy.cc
|
| +++ b/chrome/browser/printing/print_system_task_proxy.cc
|
| @@ -63,7 +63,7 @@ void PrintSystemTaskProxy::GetDefaultPrinter() {
|
| void PrintSystemTaskProxy::SendDefaultPrinter(
|
| const std::string& default_printer,
|
| const std::string& cloud_print_data) {
|
| - if (handler_)
|
| + if (handler_.get())
|
| handler_->SendInitialSettings(default_printer, cloud_print_data);
|
| }
|
|
|
| @@ -104,7 +104,7 @@ void PrintSystemTaskProxy::EnumeratePrinters() {
|
| }
|
|
|
| void PrintSystemTaskProxy::SetupPrinterList(ListValue* printers) {
|
| - if (handler_)
|
| + if (handler_.get())
|
| handler_->SetupPrinterList(*printers);
|
| delete printers;
|
| }
|
| @@ -162,13 +162,13 @@ void PrintSystemTaskProxy::GetPrinterCapabilities(
|
|
|
| void PrintSystemTaskProxy::SendPrinterCapabilities(
|
| DictionaryValue* settings_info) {
|
| - if (handler_)
|
| + if (handler_.get())
|
| handler_->SendPrinterCapabilities(*settings_info);
|
| delete settings_info;
|
| }
|
|
|
| void PrintSystemTaskProxy::SendFailedToGetPrinterCapabilities(
|
| const std::string& printer_name) {
|
| - if (handler_)
|
| + if (handler_.get())
|
| handler_->SendFailedToGetPrinterCapabilities(printer_name);
|
| }
|
|
|