Index: chrome/browser/printing/print_preview_message_handler.cc |
diff --git a/chrome/browser/printing/print_preview_message_handler.cc b/chrome/browser/printing/print_preview_message_handler.cc |
index a861540bd0c5a33a92a58ac36e9336411673f031..0aec73f9e7106836035e0d4ada3e6258cdac0eb0 100644 |
--- a/chrome/browser/printing/print_preview_message_handler.cc |
+++ b/chrome/browser/printing/print_preview_message_handler.cc |
@@ -38,7 +38,7 @@ void StopWorker(int document_cookie) { |
g_browser_process->print_job_manager()->queue(); |
scoped_refptr<printing::PrinterQuery> printer_query = |
queue->PopPrinterQuery(document_cookie); |
- if (printer_query) { |
+ if (printer_query.get()) { |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
base::Bind(&printing::PrinterQuery::StopWorker, |
printer_query)); |