| Index: chrome/browser/printing/background_printing_manager.cc
|
| diff --git a/chrome/browser/printing/background_printing_manager.cc b/chrome/browser/printing/background_printing_manager.cc
|
| index daa8402d85310478520a4a452168ec8631b8a407..1f81bb48a1b08aac19ae2014a01e487dcd5c2cc5 100644
|
| --- a/chrome/browser/printing/background_printing_manager.cc
|
| +++ b/chrome/browser/printing/background_printing_manager.cc
|
| @@ -4,7 +4,10 @@
|
|
|
| #include "chrome/browser/printing/background_printing_manager.h"
|
|
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/stl_util.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/printing/print_job.h"
|
| #include "chrome/browser/printing/print_preview_dialog_controller.h"
|
| @@ -114,7 +117,7 @@ void BackgroundPrintingManager::DeletePreviewContents(
|
|
|
| // ... and mortally wound the contents. (Deletion immediately is not a good
|
| // idea in case this was called from RenderViewGone.)
|
| - base::MessageLoop::current()->DeleteSoon(FROM_HERE, preview_contents);
|
| + base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, preview_contents);
|
| }
|
|
|
| std::set<content::WebContents*> BackgroundPrintingManager::CurrentContentSet() {
|
|
|