Commit f069dca2 by Gustavo Noronha

Only create DesktopScreen for the non-ozone case

parent 82d48393
......@@ -160,7 +160,7 @@ int CefBrowserMainParts::PreCreateThreads() {
// before the IO thread is started.
content::GpuDataManager::GetInstance();
#if defined(USE_AURA)
#if defined(USE_AURA) && !defined(USE_OZONE)
display::Screen::SetScreenInstance(views::CreateDesktopScreen());
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment