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

Unified Diff: chrome/service/cloud_print/print_system_win.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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
Index: chrome/service/cloud_print/print_system_win.cc
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index d1cb33c850fbde5687fd8467a61021b98cd7988c..18b1bbb0ec563efeebbbca07625bc8744fdba9a4 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -531,7 +531,7 @@ class PrintSystemWin : public PrintSystem {
render_area,
printer_dpi,
page_ranges,
- base::MessageLoopProxy::CreateForCurrentThread()));
+ base::MessageLoopProxy::current()));
}
// Called on the service process IO thread.
void RenderPDFPagesInSandbox(
@@ -649,7 +649,7 @@ class PrintSystemWin : public PrintSystem {
NewRunnableMethod(
this,
&PrinterCapsHandler::GetPrinterCapsAndDefaultsImpl,
- base::MessageLoopProxy::CreateForCurrentThread()));
+ base::MessageLoopProxy::current()));
}
virtual void OnChildDied() {
« no previous file with comments | « chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698