Index: chrome/browser/printing/print_dialog_gtk.cc |
diff --git a/chrome/browser/printing/print_dialog_gtk.cc b/chrome/browser/printing/print_dialog_gtk.cc |
index 8960a2544a92ecc19946adc5db03db40b4c3234a..e4a6e5d648280f986a55d6625d1fc9bee556e7bb 100644 |
--- a/chrome/browser/printing/print_dialog_gtk.cc |
+++ b/chrome/browser/printing/print_dialog_gtk.cc |
@@ -407,8 +407,10 @@ void PrintDialogGtk::OnJobCompleted(GtkPrintJob* print_job, GError* error) { |
if (print_job) |
g_object_unref(print_job); |
base::FileUtilProxy::Delete( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), |
- path_to_pdf_, false, base::FileUtilProxy::StatusCallback()); |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE).get(), |
+ path_to_pdf_, |
+ false, |
+ base::FileUtilProxy::StatusCallback()); |
// Printing finished. Matches AddRef() in PrintDocument(); |
Release(); |
} |