Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 96ee85e3dabbd1fd822925d0bdcf4b59bbc9d298
      
https://github.com/WebKit/WebKit/commit/96ee85e3dabbd1fd822925d0bdcf4b59bbc9d298
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M Source/WebCore/svg/SVGDocumentExtensions.h
    M Source/WebCore/svg/SVGPathSegListSource.cpp
    M Source/WebCore/svg/SVGPathSegListSource.h
    M Source/WebCore/svg/SVGPathStringViewSource.h
    M Source/WebCore/svg/animation/SMILTime.h
    M Source/WebCore/svg/properties/SVGAnimationAdditiveFunction.h

  Log Message:
  -----------
  Use default member initializers for uninitialized data members in WebCore/svg
https://bugs.webkit.org/show_bug.cgi?id=320994
rdar://184027192

Reviewed by Taher Ali.

Several data members in WebCore/svg rely solely on their constructors'
initializer lists, leaving them indeterminate if a future constructor
forgets them. Give them default member initializers instead, and let
SVGPathSegListSource initialize m_itemEnd in its initializer list rather
than in the constructor body.

No change in behavior.

* Source/WebCore/svg/SVGDocumentExtensions.h:
* Source/WebCore/svg/SVGPathSegListSource.cpp:
(WebCore::SVGPathSegListSource::SVGPathSegListSource):
* Source/WebCore/svg/SVGPathSegListSource.h:
* Source/WebCore/svg/SVGPathStringViewSource.h:
* Source/WebCore/svg/animation/SMILTime.h:
* Source/WebCore/svg/properties/SVGAnimationAdditiveFunction.h:

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



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

Reply via email to