Title: [253058] trunk/Source/WebCore
Revision
253058
Author
[email protected]
Date
2019-12-03 12:06:51 -0800 (Tue, 03 Dec 2019)

Log Message

Start adding encoding support for DisplayList and some DisplayListItems
https://bugs.webkit.org/show_bug.cgi?id=204740

* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContextStateChange::changesFromState const):
* platform/graphics/GraphicsContext.h:
Remove GraphicsContextState::NoChange, which is not needed with OptionSet
and in fact causes assertions to fire.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (253057 => 253058)


--- trunk/Source/WebCore/ChangeLog	2019-12-03 19:33:25 UTC (rev 253057)
+++ trunk/Source/WebCore/ChangeLog	2019-12-03 20:06:51 UTC (rev 253058)
@@ -1,3 +1,14 @@
+2019-12-03  Tim Horton  <[email protected]>
+
+        Start adding encoding support for DisplayList and some DisplayListItems
+        https://bugs.webkit.org/show_bug.cgi?id=204740
+
+        * platform/graphics/GraphicsContext.cpp:
+        (WebCore::GraphicsContextStateChange::changesFromState const):
+        * platform/graphics/GraphicsContext.h:
+        Remove GraphicsContextState::NoChange, which is not needed with OptionSet
+        and in fact causes assertions to fire.
+
 2019-12-03  Antoine Quint  <[email protected]>
 
         [Web Animations] Add a runtime flag for Web Animations composite operations

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp (253057 => 253058)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp	2019-12-03 19:33:25 UTC (rev 253057)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp	2019-12-03 20:06:51 UTC (rev 253058)
@@ -77,7 +77,7 @@
 
 GraphicsContextState::StateChangeFlags GraphicsContextStateChange::changesFromState(const GraphicsContextState& state) const
 {
-    GraphicsContextState::StateChangeFlags changeFlags = GraphicsContextState::NoChange;
+    GraphicsContextState::StateChangeFlags changeFlags;
 
     CHECK_FOR_CHANGED_PROPERTY(StrokeGradientChange, strokeGradient);
     CHECK_FOR_CHANGED_PROPERTY(StrokePatternChange, strokePattern);

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.h (253057 => 253058)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext.h	2019-12-03 19:33:25 UTC (rev 253057)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.h	2019-12-03 20:06:51 UTC (rev 253058)
@@ -146,7 +146,6 @@
     }
 
     enum Change : uint32_t {
-        NoChange                                = 0,
         StrokeGradientChange                    = 1 << 1,
         StrokePatternChange                     = 1 << 2,
         FillGradientChange                      = 1 << 3,
@@ -228,7 +227,7 @@
     void dump(WTF::TextStream&) const;
 
     GraphicsContextState m_state;
-    GraphicsContextState::StateChangeFlags m_changeFlags { GraphicsContextState::NoChange };
+    GraphicsContextState::StateChangeFlags m_changeFlags;
 };
 
 WTF::TextStream& operator<<(WTF::TextStream&, const GraphicsContextStateChange&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to