diff options
Diffstat (limited to 'ash/wm/window_animations.cc')
-rw-r--r-- | ash/wm/window_animations.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc index 45348c7..f490a67 100644 --- a/ash/wm/window_animations.cc +++ b/ash/wm/window_animations.cc @@ -9,7 +9,6 @@ #include <algorithm> #include <vector> -#include "ash/ash_switches.h" #include "ash/launcher/launcher.h" #include "ash/screen_ash.h" #include "ash/shell.h" @@ -477,13 +476,6 @@ std::vector<ui::LayerAnimationSequence*> CreateBrightnessGrayscaleAnimationSequence(float target_value, base::TimeDelta duration) { ui::Tween::Type animation_type = ui::Tween::EASE_OUT; - if (CommandLine::ForCurrentProcess()->HasSwitch( - ash::switches::kAshBootAnimationFunction2)) { - animation_type = ui::Tween::EASE_OUT_2; - } else if (CommandLine::ForCurrentProcess()->HasSwitch( - ash::switches::kAshBootAnimationFunction3)) { - animation_type = ui::Tween::EASE_OUT_3; - } scoped_ptr<ui::LayerAnimationSequence> brightness_sequence( new ui::LayerAnimationSequence()); scoped_ptr<ui::LayerAnimationSequence> grayscale_sequence( |