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

Unified Diff: services/ui/display/platform_screen_ozone.cc

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Remove WM code and other cleanups 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
« services/ui/demo/mus_demo.cc ('K') | « services/ui/demo/mus_demo.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/platform_screen_ozone.cc
diff --git a/services/ui/display/platform_screen_ozone.cc b/services/ui/display/platform_screen_ozone.cc
index 3a9433d18359257a14f0e81140c148a1920dd9c7..1819f725ee1df828c73160b37aea4d8c10e96e22 100644
--- a/services/ui/display/platform_screen_ozone.cc
+++ b/services/ui/display/platform_screen_ozone.cc
@@ -80,6 +80,8 @@ void PlatformScreenOzone::Init(PlatformScreenDelegate* delegate) {
if (!base::SysInfo::IsRunningOnChromeOS()) {
fake_display_controller_ =
native_display_delegate->GetFakeDisplayController();
+ // Don't set up a default display on non-ChromeOS.
rjkroege 2016/11/18 22:47:14 I think that this will break the oxygen build of C
+ return;
}
// We want display configuration to happen even off device to keep the control
« services/ui/demo/mus_demo.cc ('K') | « services/ui/demo/mus_demo.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698