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

Unified Diff: views/controls/throbber.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: views/controls/throbber.cc
diff --git a/views/controls/throbber.cc b/views/controls/throbber.cc
index 34f20a8713f020f8b4378608d21999db83e8c51a..caece5e8b3063ca5d21eed87b52a9490285007ac 100644
--- a/views/controls/throbber.cc
+++ b/views/controls/throbber.cc
@@ -35,7 +35,7 @@ void Throbber::Start() {
start_time_ = Time::Now();
timer_.Start(frame_time_ - TimeDelta::FromMilliseconds(10),
- this, &Throbber::Run);
+ this, &Throbber::Run, FROM_HERE);
running_ = true;
@@ -111,7 +111,7 @@ void SmoothedThrobber::Start() {
if (!running_ && !start_timer_.IsRunning()) {
start_timer_.Start(TimeDelta::FromMilliseconds(start_delay_ms_), this,
- &SmoothedThrobber::StartDelayOver);
+ &SmoothedThrobber::StartDelayOver, FROM_HERE);
}
}
@@ -125,7 +125,7 @@ void SmoothedThrobber::Stop() {
stop_timer_.Stop();
stop_timer_.Start(TimeDelta::FromMilliseconds(stop_delay_ms_), this,
- &SmoothedThrobber::StopDelayOver);
+ &SmoothedThrobber::StopDelayOver, FROM_HERE);
}
void SmoothedThrobber::StopDelayOver() {

Powered by Google App Engine
This is Rietveld 408576698