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

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

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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_job.cc
diff --git a/chrome/browser/printing/print_job.cc b/chrome/browser/printing/print_job.cc
index c1e61e3cf3cc3fb056b2b070dee4351aaa162ad3..98da1a6eeca14dbfeceaa4c7cab48af1cad333d5 100644
--- a/chrome/browser/printing/print_job.cc
+++ b/chrome/browser/printing/print_job.cc
@@ -184,7 +184,7 @@ bool PrintJob::FlushJob(int timeout_ms) {
base::OneShotTimer<MessageLoop> quit_task;
if (timeout_ms) {
quit_task.Start(TimeDelta::FromMilliseconds(timeout_ms),
- MessageLoop::current(), &MessageLoop::Quit);
+ MessageLoop::current(), &MessageLoop::Quit, FROM_HERE);
}
bool old_state = MessageLoop::current()->NestableTasksAllowed();

Powered by Google App Engine
This is Rietveld 408576698