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

Unified Diff: headless/public/headless_browser.cc

Issue 2778983002: Fix browser tests on Mac (Closed)
Patch Set: fixed comment nit Created 3 years, 9 months 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
Index: headless/public/headless_browser.cc
diff --git a/headless/public/headless_browser.cc b/headless/public/headless_browser.cc
index caa24e794d9a5e553e756bf59c315659c33c8fca..48468ffd0133a5ef4637b2527c7bdccc9bf35258 100644
--- a/headless/public/headless_browser.cc
+++ b/headless/public/headless_browser.cc
@@ -30,7 +30,11 @@ Options::Options(int argc, const char** argv)
message_pump(nullptr),
single_process_mode(false),
disable_sandbox(false),
+#if !defined(OS_MACOSX)
gl_implementation("osmesa"),
+#else
+ gl_implementation("any"),
+#endif
product_name_and_version(GetProductNameAndVersion()),
user_agent(content::BuildUserAgentFromProduct(product_name_and_version)),
window_size(kDefaultWindowSize),

Powered by Google App Engine
This is Rietveld 408576698