Title: [210220] trunk/Source/WebCore
Revision
210220
Author
[email protected]
Date
2017-01-01 08:46:34 -0800 (Sun, 01 Jan 2017)

Log Message

GraphicsContextCairo: setMiterLimit() is missing the DisplayListRecorder diversion
https://bugs.webkit.org/show_bug.cgi?id=166539

Reviewed by Michael Catanzaro.

* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::setMiterLimit): Call the setMiterLimit() method on the
m_displayListRecorder object when the GraphicsContext object is in recording mode.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210219 => 210220)


--- trunk/Source/WebCore/ChangeLog	2017-01-01 16:15:04 UTC (rev 210219)
+++ trunk/Source/WebCore/ChangeLog	2017-01-01 16:46:34 UTC (rev 210220)
@@ -1,5 +1,16 @@
 2017-01-01  Zan Dobersek  <[email protected]>
 
+        GraphicsContextCairo: setMiterLimit() is missing the DisplayListRecorder diversion
+        https://bugs.webkit.org/show_bug.cgi?id=166539
+
+        Reviewed by Michael Catanzaro.
+
+        * platform/graphics/cairo/GraphicsContextCairo.cpp:
+        (WebCore::GraphicsContext::setMiterLimit): Call the setMiterLimit() method on the
+        m_displayListRecorder object when the GraphicsContext object is in recording mode.
+
+2017-01-01  Zan Dobersek  <[email protected]>
+
         Clean up GraphicsContext3D forward declarations, header inclusion
         https://bugs.webkit.org/show_bug.cgi?id=166537
 

Modified: trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp (210219 => 210220)


--- trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp	2017-01-01 16:15:04 UTC (rev 210219)
+++ trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp	2017-01-01 16:46:34 UTC (rev 210220)
@@ -1016,6 +1016,12 @@
     if (paintingDisabled())
         return;
 
+    if (isRecording()) {
+        // Maybe this should be part of the state.
+        m_displayListRecorder->setMiterLimit(miter);
+        return;
+    }
+
     cairo_set_miter_limit(platformContext()->cr(), miter);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to