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), |