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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 2477473002: Ozone Linux: Fix linker error in browser_tests (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.cc
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index 3168d5400eb6fca83ece9ce0c26ba99b7e97557e..2f8ecb41cceec6221111e41daa8e8f111fcc8311 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -227,7 +227,7 @@ void InProcessBrowserTest::SetUp() {
command_line->AppendSwitchASCII(switches::kHostWindowBounds,
"0+0-1280x800");
}
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) && defined(USE_X11)
DCHECK(!display::Screen::GetScreen());
display::Screen::SetScreenInstance(
views::test::TestDesktopScreenX11::GetInstance());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698