diff options
Diffstat (limited to 'ash/wm/window_animations.cc')
-rw-r--r-- | ash/wm/window_animations.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc index b1a1a895..c10afde 100644 --- a/ash/wm/window_animations.cc +++ b/ash/wm/window_animations.cc @@ -389,7 +389,7 @@ void AddLayerAnimationsForMinimize(aura::Window* window, bool show) { window->layer()->GetAnimator()->ScheduleAnimation( new ui::LayerAnimationSequence(transition.release())); - bool opacity = show ? 1.0f : 0.0f; + float opacity = show ? 1.0f : 0.0f; window->layer()->GetAnimator()->ScheduleAnimation( new ui::LayerAnimationSequence( ui::LayerAnimationElement::CreateOpacityElement(opacity, duration))); |