summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_animations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/window_animations.cc')
-rw-r--r--ash/wm/window_animations.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc
index dc010c4..5aecb06 100644
--- a/ash/wm/window_animations.cc
+++ b/ash/wm/window_animations.cc
@@ -9,7 +9,7 @@
#include <algorithm>
#include <vector>
-#include "ash/screen_ash.h"
+#include "ash/screen_util.h"
#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shelf/shelf_widget.h"
@@ -79,7 +79,7 @@ void AddLayerAnimationsForMinimize(aura::Window* window,
gfx::Rect bounds = window->bounds();
gfx::Rect target_bounds = GetMinimizeAnimationTargetBoundsInScreen(window);
target_bounds =
- ScreenAsh::ConvertRectFromScreen(window->parent(), target_bounds);
+ ScreenUtil::ConvertRectFromScreen(window->parent(), target_bounds);
float scale_x = static_cast<float>(target_bounds.width()) / bounds.width();
float scale_y = static_cast<float>(target_bounds.height()) / bounds.height();