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

Unified Diff: views/controls/throbber.cc

Issue 7825026: Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, (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 | « views/controls/menu/menu_controller.cc ('k') | views/repeat_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/throbber.cc
diff --git a/views/controls/throbber.cc b/views/controls/throbber.cc
index 741b0a631c19d9fed4b844c8ae9f9833e14d019c..34f20a8713f020f8b4378608d21999db83e8c51a 100644
--- a/views/controls/throbber.cc
+++ b/views/controls/throbber.cc
@@ -34,7 +34,7 @@ void Throbber::Start() {
start_time_ = Time::Now();
- timer_.Start(FROM_HERE, frame_time_ - TimeDelta::FromMilliseconds(10),
+ timer_.Start(frame_time_ - TimeDelta::FromMilliseconds(10),
this, &Throbber::Run);
running_ = true;
@@ -110,8 +110,8 @@ void SmoothedThrobber::Start() {
stop_timer_.Stop();
if (!running_ && !start_timer_.IsRunning()) {
- start_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(start_delay_ms_),
- this, &SmoothedThrobber::StartDelayOver);
+ start_timer_.Start(TimeDelta::FromMilliseconds(start_delay_ms_), this,
+ &SmoothedThrobber::StartDelayOver);
}
}
@@ -124,8 +124,8 @@ void SmoothedThrobber::Stop() {
start_timer_.Stop();
stop_timer_.Stop();
- stop_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(stop_delay_ms_),
- this, &SmoothedThrobber::StopDelayOver);
+ stop_timer_.Start(TimeDelta::FromMilliseconds(stop_delay_ms_), this,
+ &SmoothedThrobber::StopDelayOver);
}
void SmoothedThrobber::StopDelayOver() {
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/repeat_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698