Title: [267377] trunk/Source/WebCore
Revision
267377
Author
[email protected]
Date
2020-09-21 15:56:34 -0700 (Mon, 21 Sep 2020)

Log Message

Remove unused NodeFlag::HasCSSAnimation
https://bugs.webkit.org/show_bug.cgi?id=216785

Reviewed by Antti Koivisto.

* dom/Element.h:
(WebCore::Element::hasCSSAnimation const): Deleted.
(WebCore::Element::setHasCSSAnimation): Deleted.
(WebCore::Element::clearHasCSSAnimation): Deleted.
* dom/Node.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (267376 => 267377)


--- trunk/Source/WebCore/ChangeLog	2020-09-21 22:50:47 UTC (rev 267376)
+++ trunk/Source/WebCore/ChangeLog	2020-09-21 22:56:34 UTC (rev 267377)
@@ -1,3 +1,16 @@
+2020-09-21  Antoine Quint  <[email protected]>
+
+        Remove unused NodeFlag::HasCSSAnimation
+        https://bugs.webkit.org/show_bug.cgi?id=216785
+
+        Reviewed by Antti Koivisto.
+
+        * dom/Element.h:
+        (WebCore::Element::hasCSSAnimation const): Deleted.
+        (WebCore::Element::setHasCSSAnimation): Deleted.
+        (WebCore::Element::clearHasCSSAnimation): Deleted.
+        * dom/Node.h:
+
 2020-09-21  Chris Dumez  <[email protected]>
 
         Throw when AudioConnect::connect() is called for an output that has no channels

Modified: trunk/Source/WebCore/dom/Element.h (267376 => 267377)


--- trunk/Source/WebCore/dom/Element.h	2020-09-21 22:50:47 UTC (rev 267376)
+++ trunk/Source/WebCore/dom/Element.h	2020-09-21 22:56:34 UTC (rev 267377)
@@ -486,10 +486,6 @@
     void clearHasPendingResources() { clearNodeFlag(NodeFlag::HasPendingResources); }
     virtual void buildPendingResource() { };
 
-    bool hasCSSAnimation() const { return hasNodeFlag(NodeFlag::HasCSSAnimation); }
-    void setHasCSSAnimation() { setNodeFlag(NodeFlag::HasCSSAnimation); }
-    void clearHasCSSAnimation() { clearNodeFlag(NodeFlag::HasCSSAnimation); }
-
     KeyframeEffectStack* keyframeEffectStack() const;
     KeyframeEffectStack& ensureKeyframeEffectStack();
     bool hasKeyframeEffects() const;

Modified: trunk/Source/WebCore/dom/Node.h (267376 => 267377)


--- trunk/Source/WebCore/dom/Node.h	2020-09-21 22:50:47 UTC (rev 267376)
+++ trunk/Source/WebCore/dom/Node.h	2020-09-21 22:56:34 UTC (rev 267377)
@@ -546,14 +546,13 @@
         HasCustomStyleResolveCallbacks = 1 << 22,
 
         HasPendingResources = 1 << 23,
-        HasCSSAnimation = 1 << 24,
-        HasElementIdentifier = 1 << 25,
+        HasElementIdentifier = 1 << 24,
 #if ENABLE(FULLSCREEN_API)
-        ContainsFullScreenElement = 1 << 26,
+        ContainsFullScreenElement = 1 << 25,
 #endif
-        IsComputedStyleInvalidFlag = 1 << 27,
+        IsComputedStyleInvalidFlag = 1 << 26,
 
-        // Bits 28-31 are free.
+        // Bits 27-31 are free.
     };
 
     enum class TabIndexState : uint8_t {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to