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

Unified Diff: headless/public/headless_browser.cc

Issue 2778983002: Fix browser tests on Mac (Closed)
Patch Set: nit change on #if defined on DefaultSizes test 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
« no previous file with comments | « headless/lib/headless_web_contents_browsertest.cc ('k') | headless/test/headless_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/headless_browser.cc
diff --git a/headless/public/headless_browser.cc b/headless/public/headless_browser.cc
index caa24e794d9a5e553e756bf59c315659c33c8fca..64e31a85deb612ded4d8c3f338cd21a162852b5f 100644
--- a/headless/public/headless_browser.cc
+++ b/headless/public/headless_browser.cc
@@ -30,12 +30,17 @@ 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),
incognito_mode(true),
- enable_crash_reporter(false) {}
+ enable_crash_reporter(false) {
+}
Options::Options(Options&& options) = default;
« no previous file with comments | « headless/lib/headless_web_contents_browsertest.cc ('k') | headless/test/headless_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698