Index: chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc |
diff --git a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc |
index 2aa68233ec3410ddea1f167ef71c782f23ae0854..0988a4a874413f98b819b3fced3aaf54a8f7c1a4 100644 |
--- a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc |
+++ b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc |
@@ -53,7 +53,7 @@ void ChromeBrowserMainExtraPartsViews::ToolkitInitialized() { |
} |
void ChromeBrowserMainExtraPartsViews::PreCreateThreads() { |
-#if defined(USE_AURA) && !defined(OS_CHROMEOS) |
+#if defined(USE_AURA) && !defined(OS_CHROMEOS) && !defined(USE_OZONE) |
// The screen may have already been set in test initialization. |
if (!display::Screen::GetScreen()) |
display::Screen::SetScreenInstance(views::CreateDesktopScreen()); |