Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: af5bd62df479da65ccdfdd91dd95787644f261ba
      
https://github.com/WebKit/WebKit/commit/af5bd62df479da65ccdfdd91dd95787644f261ba
  Author: Chris Dumez <[email protected]>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M Source/WebCore/svg/SVGAnimateElementBase.cpp
    M Source/WebCore/svg/SVGDocumentExtensions.cpp
    M Source/WebCore/svg/SVGFontFaceElement.cpp
    M Source/WebCore/svg/SVGFontFaceElement.h
    M Source/WebCore/svg/SVGGraphicsElement.cpp
    M Source/WebCore/svg/SVGGraphicsElement.h
    M Source/WebCore/svg/SVGPatternElement.cpp
    M Source/WebCore/svg/SVGPatternElement.h
    M Source/WebCore/svg/SVGSVGElement.cpp
    M Source/WebCore/svg/SVGSVGElement.h
    M Source/WebCore/svg/SVGTests.cpp
    M Source/WebCore/svg/SVGTests.h
    M Source/WebCore/svg/SVGTransform.h
    M Source/WebCore/svg/SVGTransformValue.h
    M Source/WebCore/svg/SVGViewSpec.cpp
    M Source/WebCore/svg/SVGViewSpec.h
    M Source/WebCore/svg/animation/SVGSMILElement.cpp
    M Source/WebCore/svg/animation/SVGSMILElement.h
    M Source/WebCore/svg/graphics/SVGImage.cpp
    M Source/WebCore/svg/graphics/SVGImage.h

  Log Message:
  -----------
  Reduce use of protected functions in Source/WebCore/svg
https://bugs.webkit.org/show_bug.cgi?id=306745

Reviewed by Anne van Kesteren.

Use `protect()` at call sites instead.

* Source/WebCore/svg/SVGAnimateElementBase.cpp:
(WebCore::SVGAnimateElementBase::animator const):
(WebCore::SVGAnimateElementBase::hasValidAttributeType const):
(WebCore::SVGAnimateElementBase::hasInvalidCSSAttributeType const):
* Source/WebCore/svg/SVGDocumentExtensions.cpp:
(WebCore::SVGDocumentExtensions::startAnimations):
* Source/WebCore/svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::fontFamily const):
(WebCore::SVGFontFaceElement::rebuildFontFace):
(WebCore::SVGFontFaceElement::protectedFontFaceRule const): Deleted.
(WebCore::SVGFontFaceElement::protectedFontElement const): Deleted.
* Source/WebCore/svg/SVGFontFaceElement.h:
* Source/WebCore/svg/SVGGraphicsElement.cpp:
(WebCore::SVGGraphicsElement::animatedLocalTransform const):
(WebCore::SVGGraphicsElement::protectedTransform const): Deleted.
* Source/WebCore/svg/SVGGraphicsElement.h:
(WebCore::SVGGraphicsElement::transform const):
* Source/WebCore/svg/SVGPatternElement.cpp:
(WebCore::SVGPatternElement::localCoordinateSpaceTransform const):
(WebCore::SVGPatternElement::protectedPatternTransform const): Deleted.
* Source/WebCore/svg/SVGPatternElement.h:
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::animationsPaused const):
(WebCore::SVGSVGElement::hasActiveAnimation const):
(WebCore::SVGSVGElement::getCurrentTime const):
(WebCore::SVGSVGElement::setCurrentTime):
(WebCore::SVGSVGElement::viewBoxToViewTransform const):
(WebCore::SVGSVGElement::protectedTimeContainer const): Deleted.
* Source/WebCore/svg/SVGSVGElement.h:
* Source/WebCore/svg/SVGTests.cpp:
(WebCore::SVGTests::parseAttribute):
(WebCore::SVGTests::protectedRequiredExtensions): Deleted.
(WebCore::SVGTests::protectedSystemLanguage): Deleted.
* Source/WebCore/svg/SVGTests.h:
(WebCore::SVGTests::requiredExtensions):
(WebCore::SVGTests::systemLanguage):
* Source/WebCore/svg/SVGTransform.h:
(WebCore::SVGTransform::~SVGTransform):
(WebCore::SVGTransform::matrix):
(WebCore::SVGTransform::SVGTransform):
(WebCore::SVGTransform::protectedMatrix): Deleted.
* Source/WebCore/svg/SVGTransformValue.h:
(WebCore::SVGTransformValue::matrix const):
(WebCore::SVGTransformValue::setMatrix):
(WebCore::SVGTransformValue::protectedMatrix const): Deleted.
* Source/WebCore/svg/SVGViewSpec.cpp:
(WebCore::SVGViewSpec::reset):
(WebCore::SVGViewSpec::parseViewSpec):
(WebCore::SVGViewSpec::protectedTransform): Deleted.
* Source/WebCore/svg/SVGViewSpec.h:
* Source/WebCore/svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::~SVGSMILElement):
(WebCore::SVGSMILElement::reset):
(WebCore::SVGSMILElement::insertedIntoAncestor):
(WebCore::SVGSMILElement::setAttributeName):
(WebCore::SVGSMILElement::progress):
(WebCore::SVGSMILElement::protectedTimeContainer const): Deleted.
* Source/WebCore/svg/animation/SVGSMILElement.h:
(WebCore::SVGSMILElement::timeContainer):
(WebCore::SVGSMILElement::targetElement const):
(WebCore::SVGSMILElement::protectedTargetElement const): Deleted.
* Source/WebCore/svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::drawForContainer):
(WebCore::SVGImage::protectedFrameView const): Deleted.
* Source/WebCore/svg/graphics/SVGImage.h:

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



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

Reply via email to