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

Unified Diff: chrome/browser/chromeos/setting_level_bubble.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
Index: chrome/browser/chromeos/setting_level_bubble.cc
diff --git a/chrome/browser/chromeos/setting_level_bubble.cc b/chrome/browser/chromeos/setting_level_bubble.cc
index 7a35a99ce55607a4f2de6fb19f83650db48fdfe6..116c4457e699226ca012ed4efb762a9a1f5dee84 100644
--- a/chrome/browser/chromeos/setting_level_bubble.cc
+++ b/chrome/browser/chromeos/setting_level_bubble.cc
@@ -148,8 +148,7 @@ void SettingLevelBubble::ShowBubble(double percent, bool enabled) {
view_->SetEnabled(enabled);
}
- hide_timer_.Start(FROM_HERE,
- base::TimeDelta::FromMilliseconds(kBubbleShowTimeoutMs),
+ hide_timer_.Start(base::TimeDelta::FromMilliseconds(kBubbleShowTimeoutMs),
this, &SettingLevelBubble::OnHideTimeout);
}
@@ -233,8 +232,7 @@ void SettingLevelBubble::UpdateTargetPercent(double percent) {
target_time_ = now + TimeDelta::FromMilliseconds(duration_ms);
if (!is_animating_) {
- animation_timer_.Start(FROM_HERE,
- TimeDelta::FromMilliseconds(kAnimationIntervalMs),
+ animation_timer_.Start(TimeDelta::FromMilliseconds(kAnimationIntervalMs),
this,
&SettingLevelBubble::OnAnimationTimeout);
is_animating_ = true;
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698