| Index: chrome/browser/printing/print_job_worker.cc
|
| ===================================================================
|
| --- chrome/browser/printing/print_job_worker.cc (revision 13415)
|
| +++ chrome/browser/printing/print_job_worker.cc (working copy)
|
| @@ -67,7 +67,12 @@
|
| void PrintJobWorker::GetSettings(bool ask_user_for_settings,
|
| HWND parent_window,
|
| int document_page_count) {
|
| - DCHECK_EQ(message_loop(), MessageLoop::current());
|
| + if (ask_user_for_settings) {
|
| + // No way to retrieve the ui (browser) message loop.
|
| + // DCHECK_EQ(ui_message_loop_, MessageLoop::current());
|
| + } else {
|
| + DCHECK_EQ(message_loop(), MessageLoop::current());
|
| + }
|
| DCHECK_EQ(page_number_, PageNumber::npos());
|
|
|
| // Recursive task processing is needed for the dialog in case it needs to be
|
|
|