| Index: ui/aura/window_event_dispatcher_unittest.cc
|
| diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc
|
| index f22a0ac7e0361e919e165f7e7190c19fc80e2fd6..bbed82225ae05767aa8df1ab4caa20390bbff058 100644
|
| --- a/ui/aura/window_event_dispatcher_unittest.cc
|
| +++ b/ui/aura/window_event_dispatcher_unittest.cc
|
| @@ -2084,7 +2084,7 @@ class WindowEventDispatcherTestInHighDPI : public WindowEventDispatcherTest {
|
| protected:
|
| void SetUp() override {
|
| WindowEventDispatcherTest::SetUp();
|
| - test_screen()->SetDeviceScaleFactor(2.f);
|
| + test_screen()->SetDeviceScaleFactorForTest(2.f);
|
| }
|
| };
|
|
|
| @@ -2661,7 +2661,7 @@ TEST_F(WindowEventDispatcherTest, OnCursorMovedToRootLocationUpdatesHover) {
|
|
|
| // The cursor should not be over |w| after changing the device scale factor to
|
| // 2x. A ET_MOUSE_EXITED event should have been sent to |w|.
|
| - test_screen()->SetDeviceScaleFactor(2.f);
|
| + test_screen()->SetDeviceScaleFactorForTest(2.f);
|
| dispatcher->OnCursorMovedToRootLocation(gfx::Point(11, 11));
|
| RunAllPendingInMessageLoop();
|
| EXPECT_TRUE(recorder.HasReceivedEvent(ui::ET_MOUSE_EXITED));
|
|
|