Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index 14eaf8615ee1f8f7815b575619c27d67caad3ca5..5aecc85eddbf66407294f59670e2374e2a8e819b 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -114,6 +114,12 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
return true; |
} |
} |
+ |
+#if defined(OS_ANDROID) |
+ // Disable <canvas> path antialiasing for consistency with Android Chrome. |
+ command_line.AppendSwitch(switches::kDisable2dCanvasAntialiasing); |
+#endif |
+ |
if (command_line.HasSwitch(switches::kDumpRenderTree)) { |
EnableBrowserLayoutTestMode(); |