Index: services/ui/ws/cursor_unittest.cc |
diff --git a/services/ui/ws/cursor_unittest.cc b/services/ui/ws/cursor_unittest.cc |
index 8e38e2bd6cc1ed7c343d8520a67256d91a155d89..7a1d1346caf1c5cf31edff17f0eda61d68f5464e 100644 |
--- a/services/ui/ws/cursor_unittest.cc |
+++ b/services/ui/ws/cursor_unittest.cc |
@@ -48,7 +48,8 @@ class CursorTest : public testing::Test { |
protected: |
// testing::Test: |
void SetUp() override { |
- platform_screen_.Init(window_server()->display_manager()); |
+ platform_screen_.Init(window_server()->display_manager(), |
+ display::PlatformScreen::WINDOW_MODE_INTERNAL); |
platform_screen_.AddDisplay(); |
// As a side effect, this allocates Displays. |