summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/setting_level_bubble.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/setting_level_bubble.cc')
-rw-r--r--chrome/browser/chromeos/setting_level_bubble.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/setting_level_bubble.cc b/chrome/browser/chromeos/setting_level_bubble.cc
index 116c445..7a35a99 100644
--- a/chrome/browser/chromeos/setting_level_bubble.cc
+++ b/chrome/browser/chromeos/setting_level_bubble.cc
@@ -148,7 +148,8 @@ void SettingLevelBubble::ShowBubble(double percent, bool enabled) {
view_->SetEnabled(enabled);
}
- hide_timer_.Start(base::TimeDelta::FromMilliseconds(kBubbleShowTimeoutMs),
+ hide_timer_.Start(FROM_HERE,
+ base::TimeDelta::FromMilliseconds(kBubbleShowTimeoutMs),
this, &SettingLevelBubble::OnHideTimeout);
}
@@ -232,7 +233,8 @@ void SettingLevelBubble::UpdateTargetPercent(double percent) {
target_time_ = now + TimeDelta::FromMilliseconds(duration_ms);
if (!is_animating_) {
- animation_timer_.Start(TimeDelta::FromMilliseconds(kAnimationIntervalMs),
+ animation_timer_.Start(FROM_HERE,
+ TimeDelta::FromMilliseconds(kAnimationIntervalMs),
this,
&SettingLevelBubble::OnAnimationTimeout);
is_animating_ = true;