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

Unified Diff: content/shell/shell_main_delegate.cc

Issue 12326013: mac content shell drt: Do not force the mesa gl implementation. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 7 years, 10 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: content/shell/shell_main_delegate.cc
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc
index 3e870335c7a4c9ffffee1031cf54cfa15b3731f3..3e9b81503814bcd106b4cb750ce995c7ba07c595 100644
--- a/content/shell/shell_main_delegate.cc
+++ b/content/shell/shell_main_delegate.cc
@@ -97,8 +97,10 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
CommandLine& command_line = *CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kDumpRenderTree)) {
command_line.AppendSwitch(switches::kAllowFileAccessFromFiles);
+#if !defined(OS_MACOSX)
command_line.AppendSwitchASCII(
switches::kUseGL, gfx::kGLImplementationOSMesaName);
Nico 2013/02/20 16:05:52 If you remember why you added this, I can add a co
zmo 2013/02/26 20:35:18 OSMesa support on Mac is incomplete, that's why we
+#endif
command_line.AppendSwitch(switches::kIgnoreGpuBlacklist);
command_line.AppendSwitch(switches::kEnableExperimentalWebKitFeatures);
command_line.AppendSwitch(switches::kEnableCssShaders);

Powered by Google App Engine
This is Rietveld 408576698