| Index: ui/aura/window_unittest.cc
|
| diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
|
| index f0da477a3cb2ca069d24735b60e3674f98f0b6e3..51a41f399e214b36af171731c93cc9b95c35e945 100644
|
| --- a/ui/aura/window_unittest.cc
|
| +++ b/ui/aura/window_unittest.cc
|
| @@ -1165,7 +1165,7 @@ TEST_F(WindowTest, IgnoreEventsTest) {
|
| TEST_F(WindowTest, Transform) {
|
| gfx::Size size = root_window()->GetHostSize();
|
| EXPECT_EQ(gfx::Rect(size),
|
| - gfx::Screen::GetMonitorNearestPoint(gfx::Point()).bounds());
|
| + gfx::Screen::GetDisplayNearestPoint(gfx::Point()).bounds());
|
|
|
| // Rotate it clock-wise 90 degrees.
|
| ui::Transform transform;
|
| @@ -1179,7 +1179,7 @@ TEST_F(WindowTest, Transform) {
|
| root_window()->bounds().size().ToString());
|
| EXPECT_EQ(
|
| gfx::Rect(transformed_size).ToString(),
|
| - gfx::Screen::GetMonitorNearestPoint(gfx::Point()).bounds().ToString());
|
| + gfx::Screen::GetDisplayNearestPoint(gfx::Point()).bounds().ToString());
|
|
|
| // Host size shouldn't change.
|
| EXPECT_EQ(size.ToString(),
|
|
|