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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 26667005: Android: disable 2d canvas AA in a different place. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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 | « content/browser/android/content_startup_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698