Index: ash/wm/overview/cleanup_animation_observer_unittest.cc |
diff --git a/ash/wm/overview/cleanup_animation_observer_unittest.cc b/ash/wm/overview/cleanup_animation_observer_unittest.cc |
index 1cfc762bd1846eb7b25a66a179a8127b6fffde75..b0542b5cb99788045575f9cada11b2a2eb329675 100644 |
--- a/ash/wm/overview/cleanup_animation_observer_unittest.cc |
+++ b/ash/wm/overview/cleanup_animation_observer_unittest.cc |
@@ -8,7 +8,7 @@ |
#include "ash/test/ash_test_base.h" |
#include "ash/wm/overview/window_selector_delegate.h" |
-#include "ash/wm_window.h" |
+#include "ui/aura/window.h" |
#include "ui/compositor/layer_animation_observer.h" |
#include "ui/compositor/scoped_animation_duration_scale_mode.h" |
#include "ui/compositor/scoped_layer_animation_settings.h" |
@@ -124,10 +124,10 @@ TEST_F(CleanupAnimationObserverTest, CreateAnimateComplete) { |
TestWindowSelectorDelegate delegate; |
std::unique_ptr<views::Widget> widget( |
CreateWindowWidget(gfx::Rect(0, 0, 40, 40))); |
- WmWindow* widget_window = WmWindow::Get(widget->GetNativeWindow()); |
+ aura::Window* widget_window = widget->GetNativeWindow(); |
{ |
ui::ScopedLayerAnimationSettings animation_settings( |
- widget_window->GetLayer()->GetAnimator()); |
+ widget_window->layer()->GetAnimator()); |
animation_settings.SetTransitionDuration( |
base::TimeDelta::FromMilliseconds(1000)); |
animation_settings.SetPreemptionStrategy( |
@@ -155,14 +155,14 @@ TEST_F(CleanupAnimationObserverTest, CreateAnimateShutdown) { |
TestWindowSelectorDelegate delegate; |
std::unique_ptr<views::Widget> widget( |
CreateWindowWidget(gfx::Rect(0, 0, 40, 40))); |
- WmWindow* widget_window = WmWindow::Get(widget->GetNativeWindow()); |
+ aura::Window* widget_window = widget->GetNativeWindow(); |
{ |
// Normal animations for tests have ZERO_DURATION, make sure we are actually |
// animating the movement. |
ui::ScopedAnimationDurationScaleMode animation_scale_mode( |
ui::ScopedAnimationDurationScaleMode::NON_ZERO_DURATION); |
ui::ScopedLayerAnimationSettings animation_settings( |
- widget_window->GetLayer()->GetAnimator()); |
+ widget_window->layer()->GetAnimator()); |
animation_settings.SetTransitionDuration( |
base::TimeDelta::FromMilliseconds(1000)); |
animation_settings.SetPreemptionStrategy( |