⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267377 in webkit


Ignore:
Timestamp:
Sep 21, 2020, 3:56:34 PM (6 years ago)
Author:
graouts@webkit.org
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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267376 r267377  
     12020-09-21  Antoine Quint  <graouts@webkit.org>
     2
     3        Remove unused NodeFlag::HasCSSAnimation
     4        https://bugs.webkit.org/show_bug.cgi?id=216785
     5
     6        Reviewed by Antti Koivisto.
     7
     8        * dom/Element.h:
     9        (WebCore::Element::hasCSSAnimation const): Deleted.
     10        (WebCore::Element::setHasCSSAnimation): Deleted.
     11        (WebCore::Element::clearHasCSSAnimation): Deleted.
     12        * dom/Node.h:
     13
    1142020-09-21  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebCore/dom/Element.h

    r267204 r267377  
    487487    virtual void buildPendingResource() { };
    488488
    489     bool hasCSSAnimation() const { return hasNodeFlag(NodeFlag::HasCSSAnimation); }
    490     void setHasCSSAnimation() { setNodeFlag(NodeFlag::HasCSSAnimation); }
    491     void clearHasCSSAnimation() { clearNodeFlag(NodeFlag::HasCSSAnimation); }
    492 
    493489    KeyframeEffectStack* keyframeEffectStack() const;
    494490    KeyframeEffectStack& ensureKeyframeEffectStack();
  • trunk/Source/WebCore/dom/Node.h

    r267220 r267377  
    547547
    548548        HasPendingResources = 1 << 23,
    549         HasCSSAnimation = 1 << 24,
    550         HasElementIdentifier = 1 << 25,
     549        HasElementIdentifier = 1 << 24,
    551550#if ENABLE(FULLSCREEN_API)
    552         ContainsFullScreenElement = 1 << 26,
     551        ContainsFullScreenElement = 1 << 25,
    553552#endif
    554         IsComputedStyleInvalidFlag = 1 << 27,
    555 
    556         // Bits 28-31 are free.
     553        IsComputedStyleInvalidFlag = 1 << 26,
     554
     555        // Bits 27-31 are free.
    557556    };
    558557
Note: See TracChangeset for help on using the changeset viewer.