Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: chrome/browser/renderer_host/resource_message_filter.cc

Issue 63137: Make the PrintDlgEx() call in the UI thread. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_message_filter.cc
===================================================================
--- chrome/browser/renderer_host/resource_message_filter.cc (revision 13415)
+++ chrome/browser/renderer_host/resource_message_filter.cc (working copy)
@@ -612,7 +612,7 @@
scoped_refptr<printing::PrinterQuery> printer_query;
print_job_manager_->PopPrinterQuery(0, &printer_query);
if (!printer_query.get()) {
- printer_query = new printing::PrinterQuery;
+ printer_query = new printing::PrinterQuery(ui_loop());
}
CancelableTask* task = NewRunnableMethod(
@@ -659,7 +659,7 @@
scoped_refptr<printing::PrinterQuery> printer_query;
print_job_manager_->PopPrinterQuery(cookie, &printer_query);
if (!printer_query.get()) {
- printer_query = new printing::PrinterQuery;
+ printer_query = new printing::PrinterQuery(ui_loop());
}
CancelableTask* task = NewRunnableMethod(
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698