Index: ash/shelf/background_animator.cc |
diff --git a/ash/shelf/background_animator.cc b/ash/shelf/background_animator.cc |
index 35e5fba3a74e8699fd5e072efb6419c0269ef09f..8137d602893e6de0fc41bdc17672664c9d2ff90f 100644 |
--- a/ash/shelf/background_animator.cc |
+++ b/ash/shelf/background_animator.cc |
@@ -34,11 +34,12 @@ void BackgroundAnimator::SetDuration(int time_in_ms) { |
animation_.SetSlideDuration(time_in_ms); |
} |
-void BackgroundAnimator::SetPaintsBackground(bool value, ChangeType type) { |
+void BackgroundAnimator::SetPaintsBackground( |
+ bool value, BackgroundAnimatorChangeType type) { |
if (paints_background_ == value) |
return; |
paints_background_ = value; |
- if (type == CHANGE_IMMEDIATE && !animation_.is_animating()) { |
+ if (type == BACKGROUND_CHANGE_IMMEDIATE && !animation_.is_animating()) { |
animation_.Reset(value ? 1.0f : 0.0f); |
AnimationProgressed(&animation_); |
return; |