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

Unified Diff: chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/ui/libgtk2ui/print_dialog_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
index 3566414f836dbe4fe1227c6ba3ea4ce0bc86ac23..59157a41793d9fad72ebdc88fee7a6c23ef05bda 100644
--- a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
@@ -535,10 +535,8 @@ void PrintDialogGtk2::OnJobCompleted(GtkPrintJob* print_job,
if (print_job)
g_object_unref(print_job);
base::FileUtilProxy::DeleteFile(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE).get(),
- path_to_pdf_,
- false,
- base::FileUtilProxy::StatusCallback());
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE).get(),
+ path_to_pdf_, false, base::FileUtilProxy::StatusCallback());
// Printing finished. Matches AddRef() in PrintDocument();
Release();
}

Powered by Google App Engine
This is Rietveld 408576698