Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 764bfd88766e962811a94ccc51cb93b3bab364a5
      
https://github.com/WebKit/WebKit/commit/764bfd88766e962811a94ccc51cb93b3bab364a5
  Author: Chris Dumez <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/rendering/RenderTreeAsText.cpp
    M Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp

  Log Message:
  -----------
  [Safer CPP] Address warnings in RenderTreeAsText and SVGRenderTreeAsText
https://bugs.webkit.org/show_bug.cgi?id=327359

Reviewed by Geoffrey Garen.

Address the safer-cpp static analysis warnings in RenderTreeAsText.cpp and
SVGRenderTreeAsText.cpp. This code only runs when dumping render trees as text
(layout tests and debugging), so there is no performance impact.

* Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
(WebCore::writeTextRuns):
(WebCore::write):
(WebCore::writeLayerUsingGeometryType):
(WebCore::writeLayers):
(WebCore::externalRepresentation):
(WebCore::externalRepresentationForLocalFrame):
(WebCore::writeCounterValuesFromChildren):
(WebCore::counterValueForElement):
(WebCore::markerTextForListItem):
* Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGFillPaintingResource):
(WebCore::writeSVGStrokePaintingResource):
(WebCore::writeSVGPaintingFeatures):
(WebCore::writeRenderSVGTextBox):
(WebCore::writeSVGTextBox):
(WebCore::writeChildren):
(WebCore::writeResources):

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



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

Reply via email to