Title: [288395] trunk
Revision
288395
Author
timothy_hor...@apple.com
Date
2022-01-21 18:13:36 -0800 (Fri, 21 Jan 2022)

Log Message

GraphicsContextStateChange logging doesn't dump shadow color
https://bugs.webkit.org/show_bug.cgi?id=235428

Reviewed by Wenson Hsieh.

* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContextStateChange::dump const):
Add shadowColor property to the things we dump on ShadowChange.

Modified Paths

Diff

Modified: trunk/LayoutTests/displaylists/extent-includes-shadow-expected.txt (288394 => 288395)


--- trunk/LayoutTests/displaylists/extent-includes-shadow-expected.txt	2022-01-22 01:59:31 UTC (rev 288394)
+++ trunk/LayoutTests/displaylists/extent-includes-shadow-expected.txt	2022-01-22 02:13:36 UTC (rev 288395)
@@ -7,6 +7,7 @@
   (change-flags 512)
   (shadow-blur 12.00)
   (shadow-offset width=10 height=20)
+  (shadow-color #000000)
   (shadows-use-legacy-radius 0))
 (fill-composited-rect
   (rect at (50,50) size 100x100)

Modified: trunk/LayoutTests/displaylists/extent-includes-transforms-expected.txt (288394 => 288395)


--- trunk/LayoutTests/displaylists/extent-includes-transforms-expected.txt	2022-01-22 01:59:31 UTC (rev 288394)
+++ trunk/LayoutTests/displaylists/extent-includes-transforms-expected.txt	2022-01-22 02:13:36 UTC (rev 288395)
@@ -9,6 +9,7 @@
   (change-flags 512)
   (shadow-blur 12.00)
   (shadow-offset width=10 height=20)
+  (shadow-color #000000)
   (shadows-use-legacy-radius 0))
 (fill-composited-rect
   (rect at (0,0) size 100x100)

Modified: trunk/Source/WebCore/ChangeLog (288394 => 288395)


--- trunk/Source/WebCore/ChangeLog	2022-01-22 01:59:31 UTC (rev 288394)
+++ trunk/Source/WebCore/ChangeLog	2022-01-22 02:13:36 UTC (rev 288395)
@@ -1,3 +1,14 @@
+2022-01-21  Tim Horton  <timothy_hor...@apple.com>
+
+        GraphicsContextStateChange logging doesn't dump shadow color
+        https://bugs.webkit.org/show_bug.cgi?id=235428
+
+        Reviewed by Wenson Hsieh.
+
+        * platform/graphics/GraphicsContext.cpp:
+        (WebCore::GraphicsContextStateChange::dump const):
+        Add shadowColor property to the things we dump on ShadowChange.
+
 2022-01-21  Tyler Wilcock  <tyle...@apple.com>
 
         AX: Move Mac subrole logic to new subrolePlatformString AXCoreObject interface method

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp (288394 => 288395)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp	2022-01-22 01:59:31 UTC (rev 288394)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp	2022-01-22 02:13:36 UTC (rev 288395)
@@ -307,6 +307,7 @@
     if (m_changeFlags.contains(GraphicsContextState::ShadowChange)) {
         ts.dumpProperty("shadow-blur", m_state.shadowBlur);
         ts.dumpProperty("shadow-offset", m_state.shadowOffset);
+        ts.dumpProperty("shadow-color", m_state.shadowColor);
         ts.dumpProperty("shadows-use-legacy-radius", m_state.shadowRadiusMode == ShadowRadiusMode::Legacy);
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to