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

Unified Diff: chrome/browser/printing/pdf_to_emf_converter.cc

Issue 1143343005: chrome/browser: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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/browser/printing/pdf_to_emf_converter.cc
diff --git a/chrome/browser/printing/pdf_to_emf_converter.cc b/chrome/browser/printing/pdf_to_emf_converter.cc
index 676459da0f055e13258b70f3f489028a51098c51..e07bf6ab9ff43d9b9efb2feab03f7f3e36e1d37d 100644
--- a/chrome/browser/printing/pdf_to_emf_converter.cc
+++ b/chrome/browser/printing/pdf_to_emf_converter.cc
@@ -306,8 +306,7 @@ void PdfToEmfUtilityProcessHostClient::Start(
// generate when sent to a metafile DC.
utility_process_host_ =
content::UtilityProcessHost::Create(
- this, base::MessageLoop::current()->message_loop_proxy())
- ->AsWeakPtr();
+ this, base::MessageLoop::current()->task_runner())->AsWeakPtr();
utility_process_host_->SetName(l10n_util::GetStringUTF16(
IDS_UTILITY_PROCESS_EMF_CONVERTOR_NAME));
// Should reply with OnProcessStarted().

Powered by Google App Engine
This is Rietveld 408576698