| Index: chrome/browser/printing/print_job_manager.cc
|
| diff --git a/chrome/browser/printing/print_job_manager.cc b/chrome/browser/printing/print_job_manager.cc
|
| index 9ba9f46513484b71261d096dd9cccf98db930d78..b600d1a12007db5013bc8df94b7468ccc83c6f82 100644
|
| --- a/chrome/browser/printing/print_job_manager.cc
|
| +++ b/chrome/browser/printing/print_job_manager.cc
|
| @@ -55,7 +55,7 @@ scoped_refptr<PrinterQuery> PrintQueriesQueue::CreatePrinterQuery(
|
| scoped_refptr<PrinterQuery> job =
|
| new printing::PrinterQuery(render_process_id, render_view_id);
|
| base::AutoLock lock(lock_);
|
| - job->SetWorkerDestination(destination_);
|
| + job->SetWorkerDestination(destination_.get());
|
| return job;
|
| }
|
|
|
| @@ -85,7 +85,7 @@ PrintJobManager::~PrintJobManager() {
|
|
|
| scoped_refptr<PrintQueriesQueue> PrintJobManager::queue() {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| - if (!queue_)
|
| + if (!queue_.get())
|
| queue_ = new PrintQueriesQueue();
|
| return queue_;
|
| }
|
| @@ -96,7 +96,7 @@ void PrintJobManager::Shutdown() {
|
| is_shutdown_ = true;
|
| registrar_.RemoveAll();
|
| StopJobs(true);
|
| - if (queue_)
|
| + if (queue_.get())
|
| queue_->Shutdown();
|
| queue_ = NULL;
|
| }
|
|
|