| Index: ash/wm/overview/window_selector_unittest.cc
|
| diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
|
| index f114e13f9cf07c7b1f418c1d5683ffa70e54ef3d..8dfdf635822a3533ef6f73c3862a383dc9429890 100644
|
| --- a/ash/wm/overview/window_selector_unittest.cc
|
| +++ b/ash/wm/overview/window_selector_unittest.cc
|
| @@ -31,7 +31,6 @@
|
| #include "ash/drag_drop/drag_drop_controller.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/root_window_controller.h"
|
| -#include "ash/screen_util.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/test/shelf_view_test_api.h"
|
| @@ -71,6 +70,7 @@
|
| #include "ui/views/controls/label.h"
|
| #include "ui/views/widget/native_widget_aura.h"
|
| #include "ui/views/widget/widget_delegate.h"
|
| +#include "ui/wm/core/coordinate_conversion.h"
|
| #include "ui/wm/core/window_util.h"
|
| #include "ui/wm/public/activation_delegate.h"
|
|
|
| @@ -199,8 +199,8 @@ class WindowSelectorTest : public test::AshTestBase {
|
| }
|
|
|
| gfx::Rect GetTransformedBounds(aura::Window* window) {
|
| - gfx::RectF bounds(ScreenUtil::ConvertRectToScreen(
|
| - window->parent(), window->layer()->bounds()));
|
| + gfx::RectF bounds(
|
| + ::wm::ConvertRectToScreen(window->parent(), window->layer()->bounds()));
|
| gfx::Transform transform(gfx::TransformAboutPivot(
|
| gfx::ToFlooredPoint(bounds.origin()), window->layer()->transform()));
|
| transform.TransformRect(&bounds);
|
| @@ -208,7 +208,7 @@ class WindowSelectorTest : public test::AshTestBase {
|
| }
|
|
|
| gfx::Rect GetTransformedTargetBounds(aura::Window* window) {
|
| - gfx::RectF bounds(ScreenUtil::ConvertRectToScreen(
|
| + gfx::RectF bounds(::wm::ConvertRectToScreen(
|
| window->parent(), window->layer()->GetTargetBounds()));
|
| gfx::Transform transform(
|
| gfx::TransformAboutPivot(gfx::ToFlooredPoint(bounds.origin()),
|
|
|