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

Unified Diff: chrome/browser/policy/delayed_work_scheduler.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
« no previous file with comments | « chrome/browser/oom_priority_manager.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/delayed_work_scheduler.cc
diff --git a/chrome/browser/policy/delayed_work_scheduler.cc b/chrome/browser/policy/delayed_work_scheduler.cc
index b751cb6aea82858e5bca4e790478e414023c598b..35fd049b06f916272eefad52db89e6029570bd4b 100644
--- a/chrome/browser/policy/delayed_work_scheduler.cc
+++ b/chrome/browser/policy/delayed_work_scheduler.cc
@@ -30,7 +30,8 @@ void DelayedWorkScheduler::PostDelayedWork(
const base::Closure& callback,
int64 delay) {
callback_ = callback;
- timer_.Start(base::TimeDelta::FromMilliseconds(delay),
+ timer_.Start(FROM_HERE,
+ base::TimeDelta::FromMilliseconds(delay),
this,
&DelayedWorkScheduler::DoDelayedWork);
}
« no previous file with comments | « chrome/browser/oom_priority_manager.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698