Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 3dfba0cc5307e0822001e879c1406de1e21f4955..c4920a18d0d932b70373032c238c776f7f685d83 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -191,6 +191,9 @@ int GpuMain(const MainFunctionParams& parameters) { |
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI); |
std::unique_ptr<ui::PlatformEventSource> event_source = |
ui::PlatformEventSource::CreateDefault(); |
+#elif defined(USE_OZONE) |
rjkroege
2016/04/27 19:08:12
Can you use base::SysInfo::IsRunningOnChromeOS() t
kylechar
2016/04/27 19:36:32
If you look at patch 5, I was checking the ozone p
|
+ // Ozone X11 needs a UI loop to grab Expose events. https://crbug.com/326995 |
+ base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI); |
#elif defined(OS_LINUX) |
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_DEFAULT); |
#elif defined(OS_MACOSX) |