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

Changeset 242978 in webkit


Ignore:
Timestamp:
Mar 14, 2019, 5:15:09 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Rename SVGProperty to SVGLegacyProperty and rename SVGAnimatedProperty to SVGLegacyAnimatedProperty
https://bugs.webkit.org/show_bug.cgi?id=195767

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2019-03-14
Reviewed by Tim Horton.

This is a step towards removing the SVG properties tear off objects.

  • Sources.txt:
  • WebCore.xcodeproj/project.pbxproj:
  • svg/SVGAngle.h:

(WebCore::SVGAngle::create):
(WebCore::SVGAngle::SVGAngle):

  • svg/SVGAnimateElement.h:
  • svg/SVGAnimatedTypeAnimator.h:

(WebCore::SVGAnimatedTypeAnimator::castAnimatedPropertyToActualType):

  • svg/SVGElement.h:

(WebCore::SVGElement::lookupAnimatedProperty const):
(WebCore::SVGElement::lookupOrCreateAnimatedProperty):
(WebCore::SVGElement::lookupOrCreateAnimatedProperties):

  • svg/SVGLength.h:

(WebCore::SVGLength::create):
(WebCore::SVGLength::SVGLength):

  • svg/SVGMatrix.h:

(WebCore::SVGMatrix::create):
(WebCore::SVGMatrix::SVGMatrix):

  • svg/SVGNumber.h:

(WebCore::SVGNumber::create):
(WebCore::SVGNumber::SVGNumber):

  • svg/SVGPathElement.cpp:

(WebCore::SVGPathElement::lookupOrCreateDWrapper):

  • svg/SVGPathElement.h:
  • svg/SVGPathSegList.cpp:

(WebCore::SVGPathSegList::processIncomingListItemValue):

  • svg/SVGPathSegWithContext.h:

(WebCore::SVGPathSegWithContext::animatedProperty const):

  • svg/SVGPoint.h:

(WebCore::SVGPoint::create):
(WebCore::SVGPoint::SVGPoint):

  • svg/SVGPreserveAspectRatio.h:

(WebCore::SVGPreserveAspectRatio::create):
(WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio):

  • svg/SVGRect.h:

(WebCore::SVGRect::create):
(WebCore::SVGRect::SVGRect):

  • svg/SVGTransform.h:

(WebCore::SVGTransform::create):
(WebCore::SVGTransform::SVGTransform):

  • svg/properties/SVGAnimatedListPropertyTearOff.h:

(WebCore::SVGAnimatedListPropertyTearOff::findItem):
(WebCore::SVGAnimatedListPropertyTearOff::SVGAnimatedListPropertyTearOff):

  • svg/properties/SVGAnimatedProperty.cpp: Removed.
  • svg/properties/SVGAnimatedProperty.h: Removed.
  • svg/properties/SVGAnimatedPropertyTearOff.h:
  • svg/properties/SVGAnimatedStaticPropertyTearOff.h:

(WebCore::SVGAnimatedStaticPropertyTearOff::SVGAnimatedStaticPropertyTearOff):

  • svg/properties/SVGAttributeAccessor.h:

(WebCore::SVGAttributeAccessor::lookupOrCreateAnimatedProperty const):
(WebCore::SVGAttributeAccessor::lookupAnimatedProperty const):
(WebCore::SVGAttributeAccessor::lookupOrCreateAnimatedProperties const):
(WebCore::SVGAnimatedAttributeAccessor::lookupOrCreateAnimatedProperty):
(WebCore::SVGAnimatedAttributeAccessor::lookupAnimatedProperty):

  • svg/properties/SVGAttributeOwnerProxy.h:
  • svg/properties/SVGAttributeOwnerProxyImpl.h:
  • svg/properties/SVGAttributeRegistry.h:

(WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedProperty const):
(WebCore::SVGAttributeRegistry::lookupAnimatedProperty const):
(WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedProperties const):
(WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedPropertyBaseTypes):
(WebCore::SVGAttributeRegistry::lookupAnimatedPropertyBaseTypes):
(WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedPropertiesBaseTypes):

  • svg/properties/SVGLegacyAnimatedProperty.cpp: Copied from Source/WebCore/svg/properties/SVGAnimatedProperty.cpp.

(WebCore::SVGLegacyAnimatedProperty::SVGLegacyAnimatedProperty):
(WebCore::SVGLegacyAnimatedProperty::~SVGLegacyAnimatedProperty):
(WebCore::SVGLegacyAnimatedProperty::commitChange):
(WebCore::SVGAnimatedProperty::SVGAnimatedProperty): Deleted.
(WebCore::SVGAnimatedProperty::~SVGAnimatedProperty): Deleted.
(WebCore::SVGAnimatedProperty::commitChange): Deleted.

  • svg/properties/SVGLegacyAnimatedProperty.h: Copied from Source/WebCore/svg/properties/SVGAnimatedProperty.h.

(WebCore::SVGLegacyAnimatedProperty::lookupOrCreateAnimatedProperty):
(WebCore::SVGLegacyAnimatedProperty::lookupAnimatedProperty):
(WebCore::SVGAnimatedProperty::isAnimating const): Deleted.
(WebCore::SVGAnimatedProperty::isAnimatedListTearOff const): Deleted.
(WebCore::SVGAnimatedProperty::contextElement const): Deleted.
(WebCore::SVGAnimatedProperty::attributeName const): Deleted.
(WebCore::SVGAnimatedProperty::animatedPropertyType const): Deleted.
(WebCore::SVGAnimatedProperty::isReadOnly const): Deleted.
(WebCore::SVGAnimatedProperty::setIsReadOnly): Deleted.
(WebCore::SVGAnimatedProperty::lookupOrCreateAnimatedProperty): Deleted.
(WebCore::SVGAnimatedProperty::lookupAnimatedProperty): Deleted.
(WebCore::SVGAnimatedProperty::animatedPropertyCache): Deleted.

  • svg/properties/SVGLegacyProperty.h: Copied from Source/WebCore/svg/properties/SVGProperty.h.
  • svg/properties/SVGListProperty.h:
  • svg/properties/SVGProperty.h: Removed.
  • svg/properties/SVGPropertyTearOff.h:

(WebCore::SVGPropertyTearOff::create):
(WebCore::SVGPropertyTearOff::animatedProperty const):
(WebCore::SVGPropertyTearOff::setAnimatedProperty):
(WebCore::SVGPropertyTearOff::SVGPropertyTearOff):

Location:
trunk/Source/WebCore
Files:
27 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r242977 r242978  
     12019-03-14  Said Abou-Hallawa  <sabouhallawa@apple.com>
     2
     3        Rename SVGProperty to SVGLegacyProperty and rename SVGAnimatedProperty to SVGLegacyAnimatedProperty
     4        https://bugs.webkit.org/show_bug.cgi?id=195767
     5
     6        Reviewed by Tim Horton.
     7
     8        This is a step towards removing the SVG properties tear off objects.
     9
     10        * Sources.txt:
     11        * WebCore.xcodeproj/project.pbxproj:
     12        * svg/SVGAngle.h:
     13        (WebCore::SVGAngle::create):
     14        (WebCore::SVGAngle::SVGAngle):
     15        * svg/SVGAnimateElement.h:
     16        * svg/SVGAnimatedTypeAnimator.h:
     17        (WebCore::SVGAnimatedTypeAnimator::castAnimatedPropertyToActualType):
     18        * svg/SVGElement.h:
     19        (WebCore::SVGElement::lookupAnimatedProperty const):
     20        (WebCore::SVGElement::lookupOrCreateAnimatedProperty):
     21        (WebCore::SVGElement::lookupOrCreateAnimatedProperties):
     22        * svg/SVGLength.h:
     23        (WebCore::SVGLength::create):
     24        (WebCore::SVGLength::SVGLength):
     25        * svg/SVGMatrix.h:
     26        (WebCore::SVGMatrix::create):
     27        (WebCore::SVGMatrix::SVGMatrix):
     28        * svg/SVGNumber.h:
     29        (WebCore::SVGNumber::create):
     30        (WebCore::SVGNumber::SVGNumber):
     31        * svg/SVGPathElement.cpp:
     32        (WebCore::SVGPathElement::lookupOrCreateDWrapper):
     33        * svg/SVGPathElement.h:
     34        * svg/SVGPathSegList.cpp:
     35        (WebCore::SVGPathSegList::processIncomingListItemValue):
     36        * svg/SVGPathSegWithContext.h:
     37        (WebCore::SVGPathSegWithContext::animatedProperty const):
     38        * svg/SVGPoint.h:
     39        (WebCore::SVGPoint::create):
     40        (WebCore::SVGPoint::SVGPoint):
     41        * svg/SVGPreserveAspectRatio.h:
     42        (WebCore::SVGPreserveAspectRatio::create):
     43        (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio):
     44        * svg/SVGRect.h:
     45        (WebCore::SVGRect::create):
     46        (WebCore::SVGRect::SVGRect):
     47        * svg/SVGTransform.h:
     48        (WebCore::SVGTransform::create):
     49        (WebCore::SVGTransform::SVGTransform):
     50        * svg/properties/SVGAnimatedListPropertyTearOff.h:
     51        (WebCore::SVGAnimatedListPropertyTearOff::findItem):
     52        (WebCore::SVGAnimatedListPropertyTearOff::SVGAnimatedListPropertyTearOff):
     53        * svg/properties/SVGAnimatedProperty.cpp: Removed.
     54        * svg/properties/SVGAnimatedProperty.h: Removed.
     55        * svg/properties/SVGAnimatedPropertyTearOff.h:
     56        * svg/properties/SVGAnimatedStaticPropertyTearOff.h:
     57        (WebCore::SVGAnimatedStaticPropertyTearOff::SVGAnimatedStaticPropertyTearOff):
     58        * svg/properties/SVGAttributeAccessor.h:
     59        (WebCore::SVGAttributeAccessor::lookupOrCreateAnimatedProperty const):
     60        (WebCore::SVGAttributeAccessor::lookupAnimatedProperty const):
     61        (WebCore::SVGAttributeAccessor::lookupOrCreateAnimatedProperties const):
     62        (WebCore::SVGAnimatedAttributeAccessor::lookupOrCreateAnimatedProperty):
     63        (WebCore::SVGAnimatedAttributeAccessor::lookupAnimatedProperty):
     64        * svg/properties/SVGAttributeOwnerProxy.h:
     65        * svg/properties/SVGAttributeOwnerProxyImpl.h:
     66        * svg/properties/SVGAttributeRegistry.h:
     67        (WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedProperty const):
     68        (WebCore::SVGAttributeRegistry::lookupAnimatedProperty const):
     69        (WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedProperties const):
     70        (WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedPropertyBaseTypes):
     71        (WebCore::SVGAttributeRegistry::lookupAnimatedPropertyBaseTypes):
     72        (WebCore::SVGAttributeRegistry::lookupOrCreateAnimatedPropertiesBaseTypes):
     73        * svg/properties/SVGLegacyAnimatedProperty.cpp: Copied from Source/WebCore/svg/properties/SVGAnimatedProperty.cpp.
     74        (WebCore::SVGLegacyAnimatedProperty::SVGLegacyAnimatedProperty):
     75        (WebCore::SVGLegacyAnimatedProperty::~SVGLegacyAnimatedProperty):
     76        (WebCore::SVGLegacyAnimatedProperty::commitChange):
     77        (WebCore::SVGAnimatedProperty::SVGAnimatedProperty): Deleted.
     78        (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty): Deleted.
     79        (WebCore::SVGAnimatedProperty::commitChange): Deleted.
     80        * svg/properties/SVGLegacyAnimatedProperty.h: Copied from Source/WebCore/svg/properties/SVGAnimatedProperty.h.
     81        (WebCore::SVGLegacyAnimatedProperty::lookupOrCreateAnimatedProperty):
     82        (WebCore::SVGLegacyAnimatedProperty::lookupAnimatedProperty):
     83        (WebCore::SVGAnimatedProperty::isAnimating const): Deleted.
     84        (WebCore::SVGAnimatedProperty::isAnimatedListTearOff const): Deleted.
     85        (WebCore::SVGAnimatedProperty::contextElement const): Deleted.
     86        (WebCore::SVGAnimatedProperty::attributeName const): Deleted.
     87        (WebCore::SVGAnimatedProperty::animatedPropertyType const): Deleted.
     88        (WebCore::SVGAnimatedProperty::isReadOnly const): Deleted.
     89        (WebCore::SVGAnimatedProperty::setIsReadOnly): Deleted.
     90        (WebCore::SVGAnimatedProperty::lookupOrCreateAnimatedProperty): Deleted.
     91        (WebCore::SVGAnimatedProperty::lookupAnimatedProperty): Deleted.
     92        (WebCore::SVGAnimatedProperty::animatedPropertyCache): Deleted.
     93        * svg/properties/SVGLegacyProperty.h: Copied from Source/WebCore/svg/properties/SVGProperty.h.
     94        * svg/properties/SVGListProperty.h:
     95        * svg/properties/SVGProperty.h: Removed.
     96        * svg/properties/SVGPropertyTearOff.h:
     97        (WebCore::SVGPropertyTearOff::create):
     98        (WebCore::SVGPropertyTearOff::animatedProperty const):
     99        (WebCore::SVGPropertyTearOff::setAnimatedProperty):
     100        (WebCore::SVGPropertyTearOff::SVGPropertyTearOff):
     101
    11022019-03-14  Ryan Haddad  <ryanhaddad@apple.com>
    2103
  • trunk/Source/WebCore/Sources.txt

    r242974 r242978  
    24252425
    24262426svg/properties/SVGAnimatedPathSegListPropertyTearOff.cpp
    2427 svg/properties/SVGAnimatedProperty.cpp
    24282427svg/properties/SVGAttributeOwnerProxy.cpp
     2428svg/properties/SVGLegacyAnimatedProperty.cpp
    24292429
    24302430workers/AbstractWorker.cpp
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r242974 r242978  
    276276                088A0E08126EF1DB00978F7A /* SVGAnimatedPropertyTearOff.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0DFF126EF1DB00978F7A /* SVGAnimatedPropertyTearOff.h */; };
    277277                088A0E09126EF1DB00978F7A /* SVGListPropertyTearOff.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0E00126EF1DB00978F7A /* SVGListPropertyTearOff.h */; };
    278                 088A0E0A126EF1DB00978F7A /* SVGProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0E01126EF1DB00978F7A /* SVGProperty.h */; settings = {ATTRIBUTES = (Private, ); }; };
    279278                088A0E0B126EF1DB00978F7A /* SVGPropertyTearOff.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0E02126EF1DB00978F7A /* SVGPropertyTearOff.h */; };
    280279                088A0E0C126EF1DB00978F7A /* SVGPropertyTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0E03126EF1DB00978F7A /* SVGPropertyTraits.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    17901789                55A336F91D821E3C0022C4C7 /* ImageBackingStore.h in Headers */ = {isa = PBXBuildFile; fileRef = 55A336F81D821E3C0022C4C7 /* ImageBackingStore.h */; settings = {ATTRIBUTES = (Private, ); }; };
    17911790                55AF14E61EAAC59B0026EEAA /* UTIRegistry.h in Headers */ = {isa = PBXBuildFile; fileRef = 55AF14E41EAAC59B0026EEAA /* UTIRegistry.h */; settings = {ATTRIBUTES = (Private, ); }; };
     1791                55D70D23223B017C00044B8E /* SVGLegacyAnimatedProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 55D70D20223B009100044B8E /* SVGLegacyAnimatedProperty.h */; settings = {ATTRIBUTES = (Private, ); }; };
    17921792                55EC9599206AA7A0007DD0A9 /* PaintFrequencyTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 55EC95972069C92D007DD0A9 /* PaintFrequencyTracker.h */; settings = {ATTRIBUTES = (Private, ); }; };
    17931793                55FA7FF0210FA386005AEFE7 /* SVGAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = 55FA7FEF210FA386005AEFE7 /* SVGAttribute.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    17961796                55FA7FFB2110ECD7005AEFE7 /* SVGZoomAndPanType.h in Headers */ = {isa = PBXBuildFile; fileRef = 55FA7FFA2110ECD7005AEFE7 /* SVGZoomAndPanType.h */; settings = {ATTRIBUTES = (Private, ); }; };
    17971797                55FA7FFF21110E6E005AEFE7 /* SVGAnimatedPropertyType.h in Headers */ = {isa = PBXBuildFile; fileRef = 55FA7FFE21110E6E005AEFE7 /* SVGAnimatedPropertyType.h */; settings = {ATTRIBUTES = (Private, ); }; };
    1798                 55FA8001211113EE005AEFE7 /* SVGAnimatedProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 088A0DFC126EF1DB00978F7A /* SVGAnimatedProperty.h */; settings = {ATTRIBUTES = (Private, ); }; };
    17991798                5704405A1E53936200356601 /* JSAesCbcCfbParams.h in Headers */ = {isa = PBXBuildFile; fileRef = 570440591E53936200356601 /* JSAesCbcCfbParams.h */; };
    18001799                5706A6961DDE5C9500A03B14 /* CryptoAlgorithmRsaOaepParams.h in Headers */ = {isa = PBXBuildFile; fileRef = 5706A6951DDE5C9500A03B14 /* CryptoAlgorithmRsaOaepParams.h */; };
     
    56485647                0885067E11DA045B00182B98 /* PaintPhase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PaintPhase.h; sourceTree = "<group>"; };
    56495648                088A0DFB126EF1DB00978F7A /* SVGAnimatedListPropertyTearOff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedListPropertyTearOff.h; sourceTree = "<group>"; };
    5650                 088A0DFC126EF1DB00978F7A /* SVGAnimatedProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedProperty.h; sourceTree = "<group>"; };
    56515649                088A0DFD126EF1DB00978F7A /* SVGAnimatedPropertyDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedPropertyDescription.h; sourceTree = "<group>"; };
    56525650                088A0DFF126EF1DB00978F7A /* SVGAnimatedPropertyTearOff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedPropertyTearOff.h; sourceTree = "<group>"; };
    56535651                088A0E00126EF1DB00978F7A /* SVGListPropertyTearOff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGListPropertyTearOff.h; sourceTree = "<group>"; };
    5654                 088A0E01126EF1DB00978F7A /* SVGProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGProperty.h; sourceTree = "<group>"; };
    56555652                088A0E02126EF1DB00978F7A /* SVGPropertyTearOff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPropertyTearOff.h; sourceTree = "<group>"; };
    56565653                088A0E03126EF1DB00978F7A /* SVGPropertyTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPropertyTraits.h; sourceTree = "<group>"; };
     
    86748671                55AF14E41EAAC59B0026EEAA /* UTIRegistry.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UTIRegistry.h; sourceTree = "<group>"; };
    86758672                55D408F71A7C631800C78450 /* SVGImageClients.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGImageClients.h; sourceTree = "<group>"; };
     8673                55D70D20223B009100044B8E /* SVGLegacyAnimatedProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGLegacyAnimatedProperty.h; sourceTree = "<group>"; };
     8674                55D70D21223B00BB00044B8E /* SVGLegacyAnimatedProperty.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SVGLegacyAnimatedProperty.cpp; sourceTree = "<group>"; };
     8675                55D70D22223B00EA00044B8E /* SVGLegacyProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGLegacyProperty.h; sourceTree = "<group>"; };
    86768676                55EC95972069C92D007DD0A9 /* PaintFrequencyTracker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PaintFrequencyTracker.h; sourceTree = "<group>"; };
    86778677                55FA7FEF210FA386005AEFE7 /* SVGAttribute.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SVGAttribute.h; sourceTree = "<group>"; };
     
    1013910139                836DAA051CEAB7CD00A2B707 /* RenderDescendantIterator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderDescendantIterator.h; sourceTree = "<group>"; };
    1014010140                836FBCE9178C113200B21A15 /* SVGAnimatedTypeAnimator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimatedTypeAnimator.cpp; sourceTree = "<group>"; };
    10141                 836FBCEB178C117F00B21A15 /* SVGAnimatedProperty.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimatedProperty.cpp; sourceTree = "<group>"; };
    1014210141                837056881F50915000D93425 /* JSFileCallback.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFileCallback.cpp; sourceTree = "<group>"; };
    1014310142                837056891F50915000D93425 /* JSFileSystemEntryCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFileSystemEntryCallback.h; sourceTree = "<group>"; };
     
    1618016179                                55FA7FFC2110F813005AEFE7 /* SVGAnimatedPathSegListPropertyTearOff.cpp */,
    1618116180                                089A8E06128D8B3D00E7A534 /* SVGAnimatedPathSegListPropertyTearOff.h */,
    16182                                 836FBCEB178C117F00B21A15 /* SVGAnimatedProperty.cpp */,
    16183                                 088A0DFC126EF1DB00978F7A /* SVGAnimatedProperty.h */,
    1618416181                                088A0DFD126EF1DB00978F7A /* SVGAnimatedPropertyDescription.h */,
    1618516182                                088A0DFF126EF1DB00978F7A /* SVGAnimatedPropertyTearOff.h */,
     
    1619316190                                55346AFA2117FFAF0059BCDD /* SVGAttributeOwnerProxyImpl.h */,
    1619416191                                55FA7FF6210FBE3E005AEFE7 /* SVGAttributeRegistry.h */,
     16192                                55D70D21223B00BB00044B8E /* SVGLegacyAnimatedProperty.cpp */,
     16193                                55D70D20223B009100044B8E /* SVGLegacyAnimatedProperty.h */,
     16194                                55D70D22223B00EA00044B8E /* SVGLegacyProperty.h */,
    1619516195                                0810764312828556007C63BA /* SVGListProperty.h */,
    1619616196                                088A0E00126EF1DB00978F7A /* SVGListPropertyTearOff.h */,
    1619716197                                08CA3D4312894A3800FFF260 /* SVGMatrixTearOff.h */,
    16198                                 088A0E01126EF1DB00978F7A /* SVGProperty.h */,
    1619916198                                088A0E02126EF1DB00978F7A /* SVGPropertyTearOff.h */,
    1620016199                                088A0E03126EF1DB00978F7A /* SVGPropertyTraits.h */,
     
    3186231861                                43B9336913B261B1004584BF /* SVGAnimatedPointList.h in Headers */,
    3186331862                                08FE0BC5127E2AC1000C4FB5 /* SVGAnimatedPreserveAspectRatio.h in Headers */,
    31864                                 55FA8001211113EE005AEFE7 /* SVGAnimatedProperty.h in Headers */,
    3186531863                                088A0E06126EF1DB00978F7A /* SVGAnimatedPropertyDescription.h in Headers */,
    3186631864                                088A0E08126EF1DB00978F7A /* SVGAnimatedPropertyTearOff.h in Headers */,
     
    3195131949                                0854B0211255E4E600B9CDD0 /* SVGInlineTextBox.h in Headers */,
    3195231950                                B2227A300D00BF220071B782 /* SVGLangSpace.h in Headers */,
     31951                                55D70D23223B017C00044B8E /* SVGLegacyAnimatedProperty.h in Headers */,
    3195331952                                7134496E146941B300720312 /* SVGLengthContext.h in Headers */,
    3195431953                                B2227A360D00BF220071B782 /* SVGLengthList.h in Headers */,
     
    3202432023                                B2227A940D00BF220071B782 /* SVGPolylineElement.h in Headers */,
    3202532024                                B2227A970D00BF220071B782 /* SVGPreserveAspectRatio.h in Headers */,
    32026                                 088A0E0A126EF1DB00978F7A /* SVGProperty.h in Headers */,
    3202732025                                088A0E0B126EF1DB00978F7A /* SVGPropertyTearOff.h in Headers */,
    3202832026                                088A0E0C126EF1DB00978F7A /* SVGPropertyTraits.h in Headers */,
  • trunk/Source/WebCore/svg/SVGAngle.h

    r228721 r242978  
    3333class SVGAngle : public SVGPropertyTearOff<SVGAngleValue> {
    3434public:
    35     static Ref<SVGAngle> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGAngleValue& value)
     35    static Ref<SVGAngle> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGAngleValue& value)
    3636    {
    3737        return adoptRef(*new SVGAngle(animatedProperty, role, value));
     
    132132
    133133private:
    134     SVGAngle(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGAngleValue& value)
     134    SVGAngle(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGAngleValue& value)
    135135        : SVGPropertyTearOff<SVGAngleValue>(&animatedProperty, role, value)
    136136    {
  • trunk/Source/WebCore/svg/SVGAnimateElement.h

    r229694 r242978  
    3030namespace WebCore {
    3131
    32 class SVGAnimatedProperty;
     32class SVGLegacyAnimatedProperty;
    3333
    3434class SVGAnimateElement final : public SVGAnimateElementBase {
  • trunk/Source/WebCore/svg/SVGAnimatedTypeAnimator.h

    r229417 r242978  
    2222#pragma once
    2323
    24 #include "SVGAnimatedProperty.h"
    2524#include "SVGAnimatedType.h"
     25#include "SVGLegacyAnimatedProperty.h"
    2626#include <wtf/StdLibExtras.h>
    2727
     
    3030struct SVGElementAnimatedProperties {
    3131    SVGElement* element;
    32     Vector<RefPtr<SVGAnimatedProperty>> properties;
     32    Vector<RefPtr<SVGLegacyAnimatedProperty>> properties;
    3333};
    3434typedef Vector<SVGElementAnimatedProperties> SVGElementAnimatedPropertyList;
     
    167167
    168168    template<typename AnimValType>
    169     AnimValType* castAnimatedPropertyToActualType(SVGAnimatedProperty* property)
     169    AnimValType* castAnimatedPropertyToActualType(SVGLegacyAnimatedProperty* property)
    170170    {
    171171        ASSERT(property);
  • trunk/Source/WebCore/svg/SVGElement.h

    r239427 r242978  
    147147    void synchronizeAttributes() { attributeOwnerProxy().synchronizeAttributes(); }
    148148    Vector<AnimatedPropertyType> animatedTypes(const QualifiedName& attributeName) const { return attributeOwnerProxy().animatedTypes(attributeName); }
    149     RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const SVGAttribute& attribute) const { return attributeOwnerProxy().lookupAnimatedProperty(attribute); }
    150     RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute& attribute) { return attributeOwnerProxy().lookupOrCreateAnimatedProperty(attribute); }
    151     Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName& name) { return attributeOwnerProxy().lookupOrCreateAnimatedProperties(name); }
     149    RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const SVGAttribute& attribute) const { return attributeOwnerProxy().lookupAnimatedProperty(attribute); }
     150    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute& attribute) { return attributeOwnerProxy().lookupOrCreateAnimatedProperty(attribute); }
     151    Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName& name) { return attributeOwnerProxy().lookupOrCreateAnimatedProperties(name); }
    152152
    153153    // These are needed for the RenderTree, animation and DOM.
  • trunk/Source/WebCore/svg/SVGLength.h

    r228721 r242978  
    4848    };
    4949
    50     static Ref<SVGLength> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGLengthValue& value)
     50    static Ref<SVGLength> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGLengthValue& value)
    5151    {
    5252        return adoptRef(*new SVGLength(animatedProperty, role, value));
     
    149149
    150150private:
    151     SVGLength(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGLengthValue& value)
     151    SVGLength(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGLengthValue& value)
    152152        : SVGPropertyTearOff<SVGLengthValue>(&animatedProperty, role, value)
    153153    {
  • trunk/Source/WebCore/svg/SVGMatrix.h

    r228721 r242978  
    3434class SVGMatrix : public SVGPropertyTearOff<SVGMatrixValue> {
    3535public:
    36     static Ref<SVGMatrix> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGMatrixValue& value)
     36    static Ref<SVGMatrix> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGMatrixValue& value)
    3737    {
    3838        return adoptRef(*new SVGMatrix(animatedProperty, role, value));
     
    273273
    274274protected:
    275     SVGMatrix(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGMatrixValue& value)
     275    SVGMatrix(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGMatrixValue& value)
    276276        : SVGPropertyTearOff<SVGMatrixValue>(&animatedProperty, role, value)
    277277    {
  • trunk/Source/WebCore/svg/SVGNumber.h

    r228721 r242978  
    3232class SVGNumber : public SVGPropertyTearOff<float> {
    3333public:
    34     static Ref<SVGNumber> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, float& value)
     34    static Ref<SVGNumber> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, float& value)
    3535    {
    3636        return adoptRef(*new SVGNumber(animatedProperty, role, value));
     
    6666
    6767private:
    68     SVGNumber(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, float& value)
     68    SVGNumber(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, float& value)
    6969        : SVGPropertyTearOff<float>(&animatedProperty, role, value)
    7070    {
  • trunk/Source/WebCore/svg/SVGPathElement.cpp

    r240237 r242978  
    284284}
    285285
    286 RefPtr<SVGAnimatedProperty> SVGPathElement::lookupOrCreateDWrapper()
     286RefPtr<SVGLegacyAnimatedProperty> SVGPathElement::lookupOrCreateDWrapper()
    287287{
    288288    return m_pathSegList.animatedProperty(attributeOwnerProxy());
  • trunk/Source/WebCore/svg/SVGPathElement.h

    r239427 r242978  
    121121    bool isValid() const final { return SVGTests::isValid(); }
    122122    bool supportsMarkers() const final { return true; }
    123     RefPtr<SVGAnimatedProperty> lookupOrCreateDWrapper();
     123    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateDWrapper();
    124124
    125125    RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
  • trunk/Source/WebCore/svg/SVGPathSegList.cpp

    r242515 r242978  
    6868{
    6969    SVGPathSegWithContext* newItemWithContext = static_cast<SVGPathSegWithContext*>(newItem.get());
    70     RefPtr<SVGAnimatedProperty> animatedPropertyOfItem = newItemWithContext->animatedProperty();
     70    RefPtr<SVGLegacyAnimatedProperty> animatedPropertyOfItem = newItemWithContext->animatedProperty();
    7171
    7272    // Alter the role, after calling animatedProperty(), as that may influence the returned animated property.
  • trunk/Source/WebCore/svg/SVGPathSegWithContext.h

    r234620 r242978  
    3232    }
    3333
    34     RefPtr<SVGAnimatedProperty> animatedProperty() const
     34    RefPtr<SVGLegacyAnimatedProperty> animatedProperty() const
    3535    {
    3636        if (!m_element)
  • trunk/Source/WebCore/svg/SVGPoint.h

    r228721 r242978  
    3535class SVGPoint : public SVGPropertyTearOff<FloatPoint> {
    3636public:
    37     static Ref<SVGPoint> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatPoint& value)
     37    static Ref<SVGPoint> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatPoint& value)
    3838    {
    3939        return adoptRef(*new SVGPoint(animatedProperty, role, value));
     
    9696
    9797protected:
    98     SVGPoint(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatPoint& value)
     98    SVGPoint(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatPoint& value)
    9999        : SVGPropertyTearOff<FloatPoint>(&animatedProperty, role, value)
    100100    {
  • trunk/Source/WebCore/svg/SVGPreserveAspectRatio.h

    r228721 r242978  
    3333class SVGPreserveAspectRatio : public SVGPropertyTearOff<SVGPreserveAspectRatioValue> {
    3434public:
    35     static Ref<SVGPreserveAspectRatio> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGPreserveAspectRatioValue& value)
     35    static Ref<SVGPreserveAspectRatio> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGPreserveAspectRatioValue& value)
    3636    {
    3737        return adoptRef(*new SVGPreserveAspectRatio(animatedProperty, role, value));
     
    8787
    8888private:
    89     SVGPreserveAspectRatio(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGPreserveAspectRatioValue& value)
     89    SVGPreserveAspectRatio(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGPreserveAspectRatioValue& value)
    9090        : SVGPropertyTearOff<SVGPreserveAspectRatioValue>(&animatedProperty, role, value)
    9191    {
  • trunk/Source/WebCore/svg/SVGRect.h

    r228721 r242978  
    2828class SVGRect : public SVGPropertyTearOff<FloatRect> {
    2929public:
    30     static Ref<SVGRect> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatRect& value)
     30    static Ref<SVGRect> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatRect& value)
    3131    {
    3232        return adoptRef(*new SVGRect(animatedProperty, role, value));
     
    110110
    111111private:
    112     SVGRect(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatRect& value)
     112    SVGRect(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, FloatRect& value)
    113113        : SVGPropertyTearOff<FloatRect>(&animatedProperty, role, value)
    114114    {
  • trunk/Source/WebCore/svg/SVGTransform.h

    r228721 r242978  
    3434class SVGTransform : public SVGPropertyTearOff<SVGTransformValue> {
    3535public:
    36     static Ref<SVGTransform> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGTransformValue& value)
     36    static Ref<SVGTransform> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGTransformValue& value)
    3737    {
    3838        return adoptRef(*new SVGTransform(animatedProperty, role, value));
     
    130130
    131131private:
    132     SVGTransform(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGTransformValue& value)
     132    SVGTransform(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, SVGTransformValue& value)
    133133        : SVGPropertyTearOff<SVGTransformValue>(&animatedProperty, role, value)
    134134    {
  • trunk/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h

    r232613 r242978  
    2121#pragma once
    2222
    23 #include "SVGAnimatedProperty.h"
     23#include "SVGLegacyAnimatedProperty.h"
    2424#include "SVGListPropertyTearOff.h"
    2525#include "SVGStaticListPropertyTearOff.h"
     
    3131
    3232template<typename PropertyType>
    33 class SVGAnimatedListPropertyTearOff : public SVGAnimatedProperty {
     33class SVGAnimatedListPropertyTearOff : public SVGLegacyAnimatedProperty {
    3434public:
    3535    using ListItemType = typename SVGPropertyTraits<PropertyType>::ListItemType;
     
    6969    bool isAnimatedListTearOff() const override { return true; }
    7070
    71     int findItem(SVGProperty* property)
     71    int findItem(SVGLegacyProperty* property)
    7272    {
    7373        // This should ever be called for our baseVal, as animVal can't modify the list.
     
    163163protected:
    164164    SVGAnimatedListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& values)
    165         : SVGAnimatedProperty(contextElement, attributeName, animatedPropertyType)
     165        : SVGLegacyAnimatedProperty(contextElement, attributeName, animatedPropertyType)
    166166        , m_values(values)
    167167    {
  • trunk/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h

    r232613 r242978  
    2121#pragma once
    2222
    23 #include "SVGAnimatedProperty.h"
     23#include "SVGLegacyAnimatedProperty.h"
    2424#include "SVGPropertyTearOff.h"
    2525
     
    2727
    2828template<typename T>
    29 class SVGAnimatedPropertyTearOff final : public SVGAnimatedProperty {
     29class SVGAnimatedPropertyTearOff final : public SVGLegacyAnimatedProperty {
    3030public:
    3131    using PropertyTearOff = T;
     
    106106private:
    107107    SVGAnimatedPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
    108         : SVGAnimatedProperty(contextElement, attributeName, animatedPropertyType)
     108        : SVGLegacyAnimatedProperty(contextElement, attributeName, animatedPropertyType)
    109109        , m_property(property)
    110110    {
  • trunk/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h

    r226065 r242978  
    2222
    2323#include "ExceptionOr.h"
    24 #include "SVGAnimatedProperty.h"
     24#include "SVGLegacyAnimatedProperty.h"
    2525
    2626namespace WebCore {
    2727
    2828template<typename PropertyType>
    29 class SVGAnimatedStaticPropertyTearOff : public SVGAnimatedProperty {
     29class SVGAnimatedStaticPropertyTearOff : public SVGLegacyAnimatedProperty {
    3030public:
    3131    typedef PropertyType ContentType;
     
    101101protected:
    102102    SVGAnimatedStaticPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
    103         : SVGAnimatedProperty(contextElement, attributeName, animatedPropertyType)
     103        : SVGLegacyAnimatedProperty(contextElement, attributeName, animatedPropertyType)
    104104        , m_property(property)
    105105        , m_animatedProperty(nullptr)
  • trunk/Source/WebCore/svg/properties/SVGAttributeAccessor.h

    r234620 r242978  
    2828#include "Element.h"
    2929#include "QualifiedName.h"
    30 #include "SVGAnimatedProperty.h"
    3130#include "SVGAnimatedPropertyType.h"
    3231#include "SVGAttribute.h"
     32#include "SVGLegacyAnimatedProperty.h"
    3333#include "SVGLengthValue.h"
    3434#include "SVGNames.h"
     
    5959    virtual Vector<AnimatedPropertyType> animatedTypes() const { return { animatedType() }; }
    6060
    61     virtual RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType&, SVGElement&, const SVGAttribute&, AnimatedPropertyState) const { return nullptr; };
    62     virtual RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const OwnerType&, const SVGElement&, const SVGAttribute&) const { return nullptr; };
    63     virtual Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType&, SVGElement&, AnimatedPropertyState) const { return { }; }
     61    virtual RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType&, SVGElement&, const SVGAttribute&, AnimatedPropertyState) const { return nullptr; };
     62    virtual RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const OwnerType&, const SVGElement&, const SVGAttribute&) const { return nullptr; };
     63    virtual Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType&, SVGElement&, AnimatedPropertyState) const { return { }; }
    6464
    6565protected:
     
    137137protected:
    138138    template<typename PropertyTearOff = PropertyTearOffType, typename Property = PropertyType, AnimatedPropertyType animatedType = type>
    139     static RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(SVGElement& element, const QualifiedName& attributeName, const AtomicString& identifier, Property& property, AnimatedPropertyState animatedState)
    140     {
    141         return SVGAnimatedProperty::lookupOrCreateAnimatedProperty<PropertyTearOff, Property, animatedType>(element, attributeName, identifier, property, animatedState);
    142     }
    143 
    144     static RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const SVGElement& element, const AtomicString& identifier)
    145     {
    146         return SVGAnimatedProperty::lookupAnimatedProperty(element, identifier);
     139    static RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(SVGElement& element, const QualifiedName& attributeName, const AtomicString& identifier, Property& property, AnimatedPropertyState animatedState)
     140    {
     141        return SVGLegacyAnimatedProperty::lookupOrCreateAnimatedProperty<PropertyTearOff, Property, animatedType>(element, attributeName, identifier, property, animatedState);
     142    }
     143
     144    static RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const SVGElement& element, const AtomicString& identifier)
     145    {
     146        return SVGLegacyAnimatedProperty::lookupAnimatedProperty(element, identifier);
    147147    }
    148148
     
    150150    AnimatedPropertyType animatedType() const override { return type; }
    151151
    152     RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const override
     152    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const override
    153153    {
    154154        ASSERT_UNUSED(attribute, isMatched(owner, attribute));
     
    156156    }
    157157
    158     RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const OwnerType&, const SVGElement& element, const SVGAttribute&) const override
     158    RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const OwnerType&, const SVGElement& element, const SVGAttribute&) const override
    159159    {
    160160        return lookupAnimatedProperty(element, m_identifier);
    161161    }
    162162
    163     Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, AnimatedPropertyState animatedState) const override
     163    Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, AnimatedPropertyState animatedState) const override
    164164    {
    165165        return { lookupOrCreateAnimatedProperty(element, m_attributeName, m_identifier, attribute(owner).value(), animatedState) };
     
    215215    Vector<AnimatedPropertyType> animatedTypes() const override { return { type, secondType }; }
    216216
    217     RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const override
     217    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const override
    218218    {
    219219        if (Base::isMatched(owner, attribute))
     
    223223    }
    224224
    225     RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute) const override
     225    RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute) const override
    226226    {
    227227        if (Base::isMatched(owner, attribute))
     
    231231    }
    232232
    233     Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, AnimatedPropertyState animatedState) const override
     233    Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, AnimatedPropertyState animatedState) const override
    234234    {
    235235        return {
  • trunk/Source/WebCore/svg/properties/SVGAttributeOwnerProxy.h

    r239070 r242978  
    3131namespace WebCore {
    3232
    33 class SVGAnimatedProperty;
    3433class SVGAttribute;
    3534class SVGElement;
     35class SVGLegacyAnimatedProperty;
    3636
    3737class SVGAttributeOwnerProxy {
     
    4848    virtual Vector<AnimatedPropertyType> animatedTypes(const QualifiedName&) const = 0;
    4949
    50     virtual RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute&) const = 0;
    51     virtual RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const SVGAttribute&) const = 0;
    52     virtual Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName&) const = 0;
     50    virtual RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute&) const = 0;
     51    virtual RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const SVGAttribute&) const = 0;
     52    virtual Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName&) const = 0;
    5353
    5454protected:
  • trunk/Source/WebCore/svg/properties/SVGAttributeOwnerProxyImpl.h

    r239070 r242978  
    8282    }
    8383
    84     RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute& attribute) const override
     84    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(const SVGAttribute& attribute) const override
    8585    {
    8686        return attributeRegistry().lookupOrCreateAnimatedProperty(m_owner, *m_element, attribute, m_animatedState);
    8787    }
    8888
    89     RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const SVGAttribute& attribute) const override
     89    RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const SVGAttribute& attribute) const override
    9090    {
    9191        return attributeRegistry().lookupAnimatedProperty(m_owner, *m_element, attribute);
    9292    }
    9393
    94     Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName& attributeName) const override
     94    Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(const QualifiedName& attributeName) const override
    9595    {
    9696        return attributeRegistry().lookupOrCreateAnimatedProperties(m_owner, *m_element, attributeName, m_animatedState);
  • trunk/Source/WebCore/svg/properties/SVGAttributeRegistry.h

    r234620 r242978  
    3535#include "SVGAnimatedPointList.h"
    3636#include "SVGAnimatedPreserveAspectRatio.h"
    37 #include "SVGAnimatedProperty.h"
    3837#include "SVGAnimatedRect.h"
    3938#include "SVGAnimatedString.h"
    4039#include "SVGAnimatedTransformList.h"
    4140#include "SVGAttributeAccessor.h"
     41#include "SVGLegacyAnimatedProperty.h"
    4242#include "SVGStringListValues.h"
    4343#include "SVGZoomAndPanType.h"
     
    202202    }
    203203
    204     RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const
     204    RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState) const
    205205    {
    206206        if (const auto* attributeAccessor = findAttributeAccessor(owner, attribute))
     
    209209    }
    210210
    211     RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute) const
     211    RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute) const
    212212    {
    213213        if (const auto* attributeAccessor = findAttributeAccessor(owner, attribute))
     
    216216    }
    217217
    218     Vector<RefPtr<SVGAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, const QualifiedName& attributeName, AnimatedPropertyState animatedState) const
     218    Vector<RefPtr<SVGLegacyAnimatedProperty>> lookupOrCreateAnimatedProperties(OwnerType& owner, SVGElement& element, const QualifiedName& attributeName, AnimatedPropertyState animatedState) const
    219219    {
    220220        if (const auto* attributeAccessor = findAttributeAccessor(attributeName))
     
    275275
    276276    template<size_t I = 0>
    277     static typename std::enable_if<I == sizeof...(BaseTypes), RefPtr<SVGAnimatedProperty>>::type lookupOrCreateAnimatedPropertyBaseTypes(OwnerType&, SVGElement&, const SVGAttribute&, AnimatedPropertyState) { return nullptr; }
    278 
    279     template<size_t I = 0>
    280     static typename std::enable_if<I < sizeof...(BaseTypes), RefPtr<SVGAnimatedProperty>>::type lookupOrCreateAnimatedPropertyBaseTypes(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState)
     277    static typename std::enable_if<I == sizeof...(BaseTypes), RefPtr<SVGLegacyAnimatedProperty>>::type lookupOrCreateAnimatedPropertyBaseTypes(OwnerType&, SVGElement&, const SVGAttribute&, AnimatedPropertyState) { return nullptr; }
     278
     279    template<size_t I = 0>
     280    static typename std::enable_if<I < sizeof...(BaseTypes), RefPtr<SVGLegacyAnimatedProperty>>::type lookupOrCreateAnimatedPropertyBaseTypes(OwnerType& owner, SVGElement& element, const SVGAttribute& attribute, AnimatedPropertyState animatedState)
    281281    {
    282282        using BaseType = typename std::tuple_element<I, typename std::tuple<BaseTypes...>>::type;
     
    287287
    288288    template<size_t I = 0>
    289     static typename std::enable_if<I == sizeof...(BaseTypes), RefPtr<SVGAnimatedProperty>>::type lookupAnimatedPropertyBaseTypes(const OwnerType&, const SVGElement&, const SVGAttribute&) { return nullptr; }
    290 
    291     template<size_t I = 0>
    292     static typename std::enable_if<I < sizeof...(BaseTypes), RefPtr<SVGAnimatedProperty>>::type lookupAnimatedPropertyBaseTypes(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute)
     289    static typename std::enable_if<I == sizeof...(BaseTypes), RefPtr<SVGLegacyAnimatedProperty>>::type lookupAnimatedPropertyBaseTypes(const OwnerType&, const SVGElement&, const SVGAttribute&) { return nullptr; }
     290
     291    template<size_t I = 0>
     292    static typename std::enable_if<I < sizeof...(BaseTypes), RefPtr<SVGLegacyAnimatedProperty>>::type lookupAnimatedPropertyBaseTypes(const OwnerType& owner, const SVGElement& element, const SVGAttribute& attribute)
    293293    {
    294294        using BaseType = typename std::tuple_element<I, typename std::tuple<BaseTypes...>>::type;
     
    299299
    300300    template<size_t I = 0>
    301     static typename std::enable_if<I == sizeof...(BaseTypes), Vector<RefPtr<SVGAnimatedProperty>>>::type lookupOrCreateAnimatedPropertiesBaseTypes(OwnerType&, SVGElement&, const QualifiedName&, AnimatedPropertyState) { return { }; }
    302 
    303     template<size_t I = 0>
    304     static typename std::enable_if<I < sizeof...(BaseTypes), Vector<RefPtr<SVGAnimatedProperty>>>::type lookupOrCreateAnimatedPropertiesBaseTypes(OwnerType& owner, SVGElement& element, const QualifiedName& attributeName, AnimatedPropertyState animatedState)
     301    static typename std::enable_if<I == sizeof...(BaseTypes), Vector<RefPtr<SVGLegacyAnimatedProperty>>>::type lookupOrCreateAnimatedPropertiesBaseTypes(OwnerType&, SVGElement&, const QualifiedName&, AnimatedPropertyState) { return { }; }
     302
     303    template<size_t I = 0>
     304    static typename std::enable_if<I < sizeof...(BaseTypes), Vector<RefPtr<SVGLegacyAnimatedProperty>>>::type lookupOrCreateAnimatedPropertiesBaseTypes(OwnerType& owner, SVGElement& element, const QualifiedName& attributeName, AnimatedPropertyState animatedState)
    305305    {
    306306        using BaseType = typename std::tuple_element<I, typename std::tuple<BaseTypes...>>::type;
  • trunk/Source/WebCore/svg/properties/SVGLegacyAnimatedProperty.cpp

    r242977 r242978  
    2121
    2222#include "config.h"
    23 #include "SVGAnimatedProperty.h"
     23#include "SVGLegacyAnimatedProperty.h"
    2424
    2525#include "SVGElement.h"
     
    2727namespace WebCore {
    2828
    29 SVGAnimatedProperty::SVGAnimatedProperty(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType)
     29SVGLegacyAnimatedProperty::SVGLegacyAnimatedProperty(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType)
    3030    : m_contextElement(contextElement)
    3131    , m_attributeName(attributeName)
     
    3434}
    3535
    36 SVGAnimatedProperty::~SVGAnimatedProperty()
     36SVGLegacyAnimatedProperty::~SVGLegacyAnimatedProperty()
    3737{
    3838    // Assure that animationEnded() was called, if animationStarted() was called before.
     
    5050}
    5151
    52 void SVGAnimatedProperty::commitChange()
     52void SVGLegacyAnimatedProperty::commitChange()
    5353{
    5454    ASSERT(m_contextElement);
  • trunk/Source/WebCore/svg/properties/SVGLegacyAnimatedProperty.h

    r242977 r242978  
    3030
    3131class SVGElement;
    32 class SVGProperty;
     32class SVGLegacyProperty;
    3333
    34 class SVGAnimatedProperty : public RefCounted<SVGAnimatedProperty> {
     34class SVGLegacyAnimatedProperty : public RefCounted<SVGLegacyAnimatedProperty> {
    3535public:
    36     virtual ~SVGAnimatedProperty();
     36    virtual ~SVGLegacyAnimatedProperty();
    3737    virtual bool isAnimating() const { return false; }
    3838    virtual bool isAnimatedListTearOff() const { return false; }
     
    4747
    4848    template<typename TearOffType, typename PropertyType, AnimatedPropertyType animatedType>
    49     static RefPtr<SVGAnimatedProperty> lookupOrCreateAnimatedProperty(SVGElement& element, const QualifiedName& attributeName, const AtomicString& identifier, PropertyType& property, AnimatedPropertyState animatedState)
     49    static RefPtr<SVGLegacyAnimatedProperty> lookupOrCreateAnimatedProperty(SVGElement& element, const QualifiedName& attributeName, const AtomicString& identifier, PropertyType& property, AnimatedPropertyState animatedState)
    5050    {
    5151        SVGAnimatedPropertyDescription key(&element, identifier);
     
    6262        // between SVGAnimatedProperty and SVGElement once the property pointer is not needed.
    6363        result.iterator->value = wrapper.ptr();
    64         return static_reference_cast<SVGAnimatedProperty>(wrapper);
     64        return static_reference_cast<SVGLegacyAnimatedProperty>(wrapper);
    6565    }
    6666
    67     static RefPtr<SVGAnimatedProperty> lookupAnimatedProperty(const SVGElement& element, const AtomicString& identifier)
     67    static RefPtr<SVGLegacyAnimatedProperty> lookupAnimatedProperty(const SVGElement& element, const AtomicString& identifier)
    6868    {
    6969        SVGAnimatedPropertyDescription key(const_cast<SVGElement*>(&element), identifier);
     
    7272
    7373protected:
    74     SVGAnimatedProperty(SVGElement*, const QualifiedName&, AnimatedPropertyType);
     74    SVGLegacyAnimatedProperty(SVGElement*, const QualifiedName&, AnimatedPropertyType);
    7575
    7676private:
    7777    // Caching facilities.
    78     using Cache = HashMap<SVGAnimatedPropertyDescription, SVGAnimatedProperty*, SVGAnimatedPropertyDescriptionHash, SVGAnimatedPropertyDescriptionHashTraits>;
     78    using Cache = HashMap<SVGAnimatedPropertyDescription, SVGLegacyAnimatedProperty*, SVGAnimatedPropertyDescriptionHash, SVGAnimatedPropertyDescriptionHashTraits>;
    7979    static Cache& animatedPropertyCache()
    8080    {
  • trunk/Source/WebCore/svg/properties/SVGLegacyProperty.h

    r242977 r242978  
    3030};
    3131
    32 class SVGProperty : public RefCounted<SVGProperty> {
     32class SVGLegacyProperty : public RefCounted<SVGLegacyProperty> {
    3333public:
    34     virtual ~SVGProperty() = default;
     34    virtual ~SVGLegacyProperty() = default;
    3535
    3636    virtual bool isReadOnly() const = 0;
  • trunk/Source/WebCore/svg/properties/SVGListProperty.h

    r232613 r242978  
    3838
    3939template<typename PropertyType>
    40 class SVGListProperty : public SVGProperty, public CanMakeWeakPtr<SVGListProperty<PropertyType>> {
     40class SVGListProperty : public SVGLegacyProperty, public CanMakeWeakPtr<SVGListProperty<PropertyType>> {
    4141public:
    4242    typedef SVGListProperty<PropertyType> Self;
  • trunk/Source/WebCore/svg/properties/SVGPropertyTearOff.h

    r232613 r242978  
    2222
    2323#include "ExceptionOr.h"
    24 #include "SVGAnimatedProperty.h"
    25 #include "SVGProperty.h"
     24#include "SVGLegacyAnimatedProperty.h"
     25#include "SVGLegacyProperty.h"
    2626#include <wtf/WeakPtr.h>
    2727
     
    3030class SVGElement;
    3131
    32 class SVGPropertyTearOffBase : public SVGProperty {
     32class SVGPropertyTearOffBase : public SVGLegacyProperty {
    3333public:
    3434    virtual void detachWrapper() = 0;
     
    4343    // Used for child types (baseVal/animVal) of a SVGAnimated* property (for example: SVGAnimatedLength::baseVal()).
    4444    // Also used for list tear offs (for example: text.x.baseVal.getItem(0)).
    45     static Ref<Self> create(SVGAnimatedProperty& animatedProperty, SVGPropertyRole role, PropertyType& value)
     45    static Ref<Self> create(SVGLegacyAnimatedProperty& animatedProperty, SVGPropertyRole role, PropertyType& value)
    4646    {
    4747        return adoptRef(*new Self(animatedProperty, role, value));
     
    6262
    6363    virtual PropertyType& propertyReference() { return *m_value; }
    64     SVGAnimatedProperty* animatedProperty() const { return m_animatedProperty.get(); }
     64    SVGLegacyAnimatedProperty* animatedProperty() const { return m_animatedProperty.get(); }
    6565
    6666    virtual void setValue(PropertyType& value)
     
    7474    }
    7575
    76     void setAnimatedProperty(SVGAnimatedProperty* animatedProperty)
     76    void setAnimatedProperty(SVGLegacyAnimatedProperty* animatedProperty)
    7777    {
    7878        m_animatedProperty = animatedProperty;
     
    127127
    128128protected:
    129     SVGPropertyTearOff(SVGAnimatedProperty* animatedProperty, SVGPropertyRole role, PropertyType& value)
     129    SVGPropertyTearOff(SVGLegacyAnimatedProperty* animatedProperty, SVGPropertyRole role, PropertyType& value)
    130130        : m_animatedProperty(animatedProperty)
    131131        , m_role(role)
     
    165165    }
    166166
    167     RefPtr<SVGAnimatedProperty> m_animatedProperty;
     167    RefPtr<SVGLegacyAnimatedProperty> m_animatedProperty;
    168168    SVGPropertyRole m_role;
    169169    PropertyType* m_value;
Note: See TracChangeset for help on using the changeset viewer.