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

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

Issue 2283373002: Remove unneeded scoped_refptr<>::get() on method binding (Closed)
Patch Set: Created 4 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/browser/printing/print_view_manager_base.cc
diff --git a/chrome/browser/printing/print_view_manager_base.cc b/chrome/browser/printing/print_view_manager_base.cc
index 07f618088d173357127f7dfeda33c57440cb1ccd..b208e6ae7acb46bab92610e942dca2443c6beb69 100644
--- a/chrome/browser/printing/print_view_manager_base.cc
+++ b/chrome/browser/printing/print_view_manager_base.cc
@@ -535,7 +535,7 @@ void PrintViewManagerBase::ReleasePrinterQuery() {
return;
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(&PrinterQuery::StopWorker, printer_query.get()));
+ base::Bind(&PrinterQuery::StopWorker, printer_query));
}
} // namespace printing
« no previous file with comments | « chrome/browser/extensions/zipfile_installer_unittest.cc ('k') | chrome/browser/process_singleton_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698