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

Unified Diff: chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc

Issue 2968063002: Fix nits from crrev.com/2943843002 (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
diff --git a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
index 783756919a72e834447bd047f86ee3c03105fe77..15df1907e77a75084a418b050532548f1f6f47ba 100644
--- a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
+++ b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
@@ -356,11 +356,11 @@ void CupsPrintJobManagerImpl::ScheduleQuery(const base::TimeDelta& delay) {
if (!in_query_) {
in_query_ = true;
- content::BrowserThread::GetTaskRunnerForThread(content::BrowserThread::UI)
- ->PostDelayedTask(FROM_HERE,
- base::Bind(&CupsPrintJobManagerImpl::PostQuery,
- weak_ptr_factory_.GetWeakPtr()),
- delay);
+ content::BrowserThread::PostDelayedTask(
+ content::BrowserThread::UI, FROM_HERE,
+ base::Bind(&CupsPrintJobManagerImpl::PostQuery,
+ weak_ptr_factory_.GetWeakPtr()),
+ delay);
}
}
@@ -376,7 +376,7 @@ void CupsPrintJobManagerImpl::PostQuery() {
auto result = base::MakeUnique<QueryResult>();
QueryResult* result_ptr = result.get();
- // Runs a query on query_runner_ which will rejoin this sequnece on
+ // Runs a query on |query_runner_| which will rejoin this sequnece on
// completion.
query_runner_->PostTaskAndReply(
FROM_HERE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698