Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: services/ui/ws/cursor_unittest.cc

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Wrap comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698