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

Unified Diff: content/renderer/render_view_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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index f06587d3fca12e18cef38ed4d0044236330bba09..6c05dbd0b01d638067ed5008639eb9784bcf2e6d 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1015,10 +1015,10 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
WebRuntimeFeatures::forceDisable2dCanvasCopyOnWrite(
prefs.disable_2d_canvas_copy_on_write);
- // Enabled antialiasing of clips for 2d canvas if requested on the command
+ // Disable antialiasing of clips for 2d canvas if requested on the command
// line.
- settings->setAntialiasedClips2dCanvasEnabled(
- prefs.antialiased_clips_2d_canvas_enabled);
+ settings->setAntialiasedClips2dCanvasDisabled(
+ prefs.antialiased_clips_2d_canvas_disabled);
// Set MSAA sample count for 2d canvas if requested on the command line (or
// default value if not).

Powered by Google App Engine
This is Rietveld 408576698