Title: [211080] trunk/Source/WebCore
Revision
211080
Author
[email protected]
Date
2017-01-24 02:04:27 -0800 (Tue, 24 Jan 2017)

Log Message

Remove always true antialiased2dCanvasEnabled setting
https://bugs.webkit.org/show_bug.cgi?id=167361

Patch by Joseph Pecoraro <[email protected]> on 2017-01-24
Reviewed by Andreas Kling.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::createImageBuffer):
* page/Settings.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211079 => 211080)


--- trunk/Source/WebCore/ChangeLog	2017-01-24 07:48:40 UTC (rev 211079)
+++ trunk/Source/WebCore/ChangeLog	2017-01-24 10:04:27 UTC (rev 211080)
@@ -1,3 +1,14 @@
+2017-01-24  Joseph Pecoraro  <[email protected]>
+
+        Remove always true antialiased2dCanvasEnabled setting
+        https://bugs.webkit.org/show_bug.cgi?id=167361
+
+        Reviewed by Andreas Kling.
+
+        * html/HTMLCanvasElement.cpp:
+        (WebCore::HTMLCanvasElement::createImageBuffer):
+        * page/Settings.in:
+
 2017-01-15  Yusuke Suzuki  <[email protected]>
 
         Add the support for nomodule attribute on script element

Modified: trunk/Source/WebCore/html/HTMLCanvasElement.cpp (211079 => 211080)


--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2017-01-24 07:48:40 UTC (rev 211079)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2017-01-24 10:04:27 UTC (rev 211080)
@@ -657,8 +657,6 @@
         return;
     m_imageBuffer->context().setShadowsIgnoreTransforms(true);
     m_imageBuffer->context().setImageInterpolationQuality(defaultInterpolationQuality);
-    if (document().settings() && !document().settings()->antialiased2dCanvasEnabled())
-        m_imageBuffer->context().setShouldAntialias(false);
     m_imageBuffer->context().setStrokeThickness(1);
     m_contextStateSaver = std::make_unique<GraphicsContextStateSaver>(m_imageBuffer->context());
 

Modified: trunk/Source/WebCore/page/Settings.in (211079 => 211080)


--- trunk/Source/WebCore/page/Settings.in	2017-01-24 07:48:40 UTC (rev 211079)
+++ trunk/Source/WebCore/page/Settings.in	2017-01-24 10:04:27 UTC (rev 211080)
@@ -110,7 +110,6 @@
 forceSoftwareWebGLRendering initial=false
 preferLowPowerWebGLRendering initial=true
 accelerated2dCanvasEnabled initial=false
-antialiased2dCanvasEnabled initial=true
 loadDeferringEnabled initial=true
 webAudioEnabled initial=false
 paginateDuringLayoutEnabled initial=false
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to