| Index: chrome/browser/printing/print_view_manager.cc
|
| diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc
|
| index 8aed1a08c9868a36848aacb4124bc501d1b31373..af43456409f5de602b1dec3ae35292b6020cb7d2 100644
|
| --- a/chrome/browser/printing/print_view_manager.cc
|
| +++ b/chrome/browser/printing/print_view_manager.cc
|
| @@ -192,7 +192,7 @@ void PrintViewManager::RenderViewGone(base::TerminationStatus status) {
|
| return;
|
|
|
| scoped_refptr<PrintedDocument> document(print_job_->document());
|
| - if (document) {
|
| + if (document.get()) {
|
| // If IsComplete() returns false, the document isn't completely rendered.
|
| // Since our renderer is gone, there's nothing to do, cancel it. Otherwise,
|
| // the print job may finish without problem.
|
|
|