Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76df1b96aaae623fa8b9ac96d3d6ac86ea99e6cb
      
https://github.com/WebKit/WebKit/commit/76df1b96aaae623fa8b9ac96d3d6ac86ea99e6cb
  Author: Chris Dumez <[email protected]>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/svg/SVGPath.h
    M Source/WebCore/svg/SVGPathBlender.cpp
    M Source/WebCore/svg/SVGPathByteStreamBuilder.cpp
    M Source/WebCore/svg/SVGPathElement.cpp
    M Source/WebCore/svg/SVGPathElement.h
    M Source/WebCore/svg/SVGPathParser.h
    R Source/WebCore/svg/SVGPathSeg.h
    R Source/WebCore/svg/SVGPathSegList.h
    A Source/WebCore/svg/SVGPathSegType.h
    M Source/WebCore/svg/SVGPathSource.h
    M Source/WebCore/svg/SVGTZoneImpls.cpp
    M Source/WebCore/svg/properties/SVGAnimatedPropertyAccessorImpl.h
    M Source/WebCore/svg/properties/SVGAnimatedPropertyAnimatorImpl.h
    M Source/WebCore/svg/properties/SVGAnimatedPropertyImpl.h
    M Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h
    M Source/WebCore/svg/properties/SVGAttributeAnimator.h
    M Source/WebCore/svg/properties/SVGPropertyOwnerRegistry.h

  Log Message:
  -----------
  Rename SVGPathSegList to SVGPath to reflect its actual role
https://bugs.webkit.org/show_bug.cgi?id=321248

Reviewed by Darin Adler.

Follow-up to the SVGPathSegList/SVGPathSeg* DOM interface removal. That patch
kept the old class names to minimize churn, but SVGPathSegList is no longer a
list of segments -- it is just the owner of the SVGPathByteStream backing the
"d" attribute. This renames it (and the property glue) to match its role, and
renames the header that now holds only enum SVGPathSegType.

The renames are:
    SVGPathSegList                  -> SVGPath
    SVGPathSegList.h                -> SVGPath.h
    SVGAnimatedPathSegList          -> SVGAnimatedPath
    SVGAnimatedPathSegListAccessor  -> SVGAnimatedPathAccessor
    SVGAnimatedPathSegListAnimator  -> SVGAnimatedPathAnimator
    SVGAnimationPathSegListFunction -> SVGAnimationPathFunction
    SVGAnimatorType::PathSegList    -> SVGAnimatorType::Path
    SVGPathElement::m_pathSegList   -> SVGPathElement::m_path
    PathSegListCache                -> PathCache
    SVGPathSeg.h                    -> SVGPathSegType.h (enum SVGPathSegType 
unchanged)

No behavior change.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/svg/SVGPath.h: Renamed from 
Source/WebCore/svg/SVGPathSegList.h.
* Source/WebCore/svg/SVGPathBlender.cpp:
* Source/WebCore/svg/SVGPathByteStreamBuilder.cpp:
* Source/WebCore/svg/SVGPathElement.cpp:
(WebCore::PathCache::singleton):
(WebCore::PathCache::get const):
(WebCore::PathCache::add):
(WebCore::PathCache::clear):
(WebCore::SVGPathElement::SVGPathElement):
(WebCore::SVGPathElement::attributeChanged):
(WebCore::SVGPathElement::clearCache):
(WebCore::SVGPathElement::pathByteStream const):
(WebCore::SVGPathElement::path const):
(WebCore::SVGPathElement::collectDPresentationalHint):
(WebCore::PathSegListCache::singleton): Deleted.
(WebCore::PathSegListCache::get const): Deleted.
(WebCore::PathSegListCache::add): Deleted.
(WebCore::PathSegListCache::clear): Deleted.
* Source/WebCore/svg/SVGPathElement.h:
* Source/WebCore/svg/SVGPathParser.h:
* Source/WebCore/svg/SVGPathSegType.h: Renamed from 
Source/WebCore/svg/SVGPathSeg.h.
* Source/WebCore/svg/SVGPathSource.h:
* Source/WebCore/svg/SVGTZoneImpls.cpp:
* Source/WebCore/svg/properties/SVGAnimatedPropertyAccessorImpl.h:
* Source/WebCore/svg/properties/SVGAnimatedPropertyAnimatorImpl.h:
(isType):
* Source/WebCore/svg/properties/SVGAnimatedPropertyImpl.h:
(WebCore::SVGAnimatedPath::create):
(WebCore::SVGAnimatedPathSegList::create): Deleted.
(WebCore::SVGAnimatedPathSegList::currentPathByteStream): Deleted.
(WebCore::SVGAnimatedPathSegList::currentPath): Deleted.
(WebCore::SVGAnimatedPathSegList::approximateMemoryCost const): Deleted.
* Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h:
(WebCore::SVGAnimationPathSegListFunction::animate): Deleted.
* Source/WebCore/svg/properties/SVGAttributeAnimator.h:
* Source/WebCore/svg/properties/SVGPropertyOwnerRegistry.h:
(WebCore::SVGPropertyOwnerRegistry::registerProperty):

Canonical link: https://commits.webkit.org/318801@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to