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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2359843003: Turning on clip anti-aliasing by default in Chrome. (Closed)
Patch Set: Adding the layout test. Created 4 years, 3 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 6d4e908768ef7c67faf0459c529671e9dbc690ce..db9a2884b1012ccae4a816aed21c76c5ffcb44b9 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -463,8 +463,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
!command_line.HasSwitch(switches::kDisableAccelerated2dCanvas);
prefs.antialiased_2d_canvas_disabled =
command_line.HasSwitch(switches::kDisable2dCanvasAntialiasing);
- prefs.antialiased_clips_2d_canvas_enabled =
- command_line.HasSwitch(switches::kEnable2dCanvasClipAntialiasing);
+ prefs.antialiased_clips_2d_canvas_disabled =
+ command_line.HasSwitch(switches::kDisable2dCanvasClipAntialiasing);
prefs.accelerated_2d_canvas_msaa_sample_count =
atoi(command_line.GetSwitchValueASCII(
switches::kAcceleratedCanvas2dMSAASampleCount).c_str());
« no previous file with comments | « no previous file | content/public/common/common_param_traits_macros.h » ('j') | content/public/common/web_preferences.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698