Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 16cba163b0a1d81a754d0d0d8c722165ec25be36
      
https://github.com/WebKit/WebKit/commit/16cba163b0a1d81a754d0d0d8c722165ec25be36
  Author: Zak Ridouh <[email protected]>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M Source/WebCore/editing/EditorCommand.cpp
    M Source/WebCore/editing/IndentOutdentCommand.cpp
    M Source/WebCore/editing/IndentOutdentCommand.h
    M Source/WebCore/rendering/svg/RenderSVGPath.cpp
    M Source/WebCore/rendering/svg/SVGMarkerData.h
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp

  Log Message:
  -----------
  Convert SVGMarkerType and EIndentType to enum classes
https://bugs.webkit.org/show_bug.cgi?id=308238
rdar://170743512

Reviewed by Vitor Roriz and Sammy Gill.

Convert two C-style enums to enum class : uint8_t for stronger type
safety. Remove redundant prefixes from SVGMarkerType enumerators (e.g.
StartMarker → Start). Rename EIndentType to IndentType, dropping the
Hungarian enum prefix.

No new tests, no new functionality.

* Source/WebCore/editing/EditorCommand.cpp:
(WebCore::executeIndent):
(WebCore::executeOutdent):
* Source/WebCore/editing/IndentOutdentCommand.cpp:
(WebCore::IndentOutdentCommand::IndentOutdentCommand):
(WebCore::IndentOutdentCommand::formatSelection):
* Source/WebCore/editing/IndentOutdentCommand.h:
(WebCore::IndentOutdentCommand::create):
* Source/WebCore/rendering/svg/RenderSVGPath.cpp:
(WebCore::markerForType):
* Source/WebCore/rendering/svg/SVGMarkerData.h:
(WebCore::SVGMarkerData::updateFromPathElement):
(WebCore::SVGMarkerData::pathIsDone):
(WebCore::SVGMarkerData::currentAngle const):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp:
(WebCore::markerForType):

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



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

Reply via email to