Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: acc6cbed1e5b65a7e9b4edc1effbac0d09d66f8f
      
https://github.com/WebKit/WebKit/commit/acc6cbed1e5b65a7e9b4edc1effbac0d09d66f8f
  Author: Anne van Kesteren <[email protected]>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  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/editing/RemoveNodePreservingChildrenCommand.cpp
    M Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp
    M Source/WebCore/editing/ReplaceSelectionCommand.cpp
    M Source/WebCore/editing/SelectionGeometryGatherer.cpp
    M Source/WebCore/editing/SplitElementCommand.cpp
    M Source/WebCore/editing/SplitTextNodeCommand.cpp
    M Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp
    M Source/WebCore/editing/TextManipulationController.cpp
    M Source/WebCore/editing/VisibleSelection.cpp
    M Source/WebCore/editing/VisibleUnits.cpp
    M Source/WebCore/page/UndoItem.cpp
    M Source/WebCore/page/UndoItem.h

  Log Message:
  -----------
  Reduce unsafeness in WebCore/editing
https://bugs.webkit.org/show_bug.cgi?id=300869

Reviewed by Ryosuke Niwa.

Apply https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines to a
variety of files.

SelectionGeometryGatherer.cpp includes a subtle change. We go from

  m_gatherer.m_renderView->view().frame()

to

  m_gatherer.m_renderView->frame()

in order to be able to reuse a variable. As far as I can tell these are
equivalent so this should not be observable.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to