| Index: chrome/service/cloud_print/printer_job_handler.cc
|
| diff --git a/chrome/service/cloud_print/printer_job_handler.cc b/chrome/service/cloud_print/printer_job_handler.cc
|
| index 4df80a2743aefa6dc1efdddd1e61eb8040038c23..7547a0eeb04963441dc585df6b4f066766756c42 100644
|
| --- a/chrome/service/cloud_print/printer_job_handler.cc
|
| +++ b/chrome/service/cloud_print/printer_job_handler.cc
|
| @@ -812,7 +812,7 @@ void PrinterJobHandler::DoPrint(const JobDetails& job_details,
|
| }
|
|
|
| bool PrinterJobHandler::CurrentlyOnPrintThread() const {
|
| - return base::MessageLoop::current() == print_thread_.message_loop();
|
| + return print_thread_.task_runner()->BelongsToCurrentThread();
|
| }
|
|
|
| } // namespace cloud_print
|
|
|