Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 66d4ae9deea6727db79d505f1c9993795efb8e77
https://github.com/WebKit/WebKit/commit/66d4ae9deea6727db79d505f1c9993795efb8e77
Author: Ryosuke Niwa <[email protected]>
Date: 2026-02-24 (Tue, 24 Feb 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/NoDeleteCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/dom/CommandEvent.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/DocumentImmersive.cpp
M Source/WebCore/dom/DocumentOrShadowRootFullscreen.cpp
M Source/WebCore/dom/Node.h
M Source/WebCore/dom/Position.h
M Source/WebCore/dom/ToggleEvent.cpp
M Source/WebCore/dom/TreeScope.cpp
M Source/WebCore/dom/TreeScope.h
M Source/WebCore/editing/Editing.cpp
M Source/WebCore/editing/VisibleSelection.cpp
M Source/WebCore/page/DOMSelection.cpp
M Source/WebCore/page/DOMSelection.h
Log Message:
-----------
Add NODELETE to retargeting functions in TreeScope and remove redundant
protect calls
https://bugs.webkit.org/show_bug.cgi?id=308102
Reviewed by Anne van Kesteren.
Added NODELETE to retargeting functions in TreeScope, and removed unnecessary
use of smart pointers.
No new tests since there should be no behavioral changes.
* Source/WebCore/SaferCPPExpectations/NoDeleteCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/dom/CommandEvent.cpp:
(WebCore::CommandEvent::source const):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::caretPositionFromPoint):
* Source/WebCore/dom/DocumentImmersive.cpp:
(WebCore::DocumentImmersive::immersiveElement):
* Source/WebCore/dom/DocumentOrShadowRootFullscreen.cpp:
(WebCore::DocumentOrShadowRootFullscreen::fullscreenElement):
* Source/WebCore/dom/Node.h:
* Source/WebCore/dom/Position.h:
* Source/WebCore/dom/ToggleEvent.cpp:
(WebCore::ToggleEvent::source const):
* Source/WebCore/dom/TreeScope.cpp:
(WebCore::TreeScope::ancestorNodeInThisScope const):
(WebCore::TreeScope::ancestorElementInThisScope const):
(WebCore::TreeScope::focusedElementInScope):
* Source/WebCore/dom/TreeScope.h:
* Source/WebCore/editing/Editing.cpp:
(WebCore::firstEditablePositionAfterPositionInRoot):
(WebCore::lastEditablePositionBeforePositionInRoot):
* Source/WebCore/editing/VisibleSelection.cpp:
(WebCore::VisibleSelection::adjustPositionForEnd):
(WebCore::VisibleSelection::adjustPositionForStart):
* Source/WebCore/page/DOMSelection.cpp:
(WebCore::selectionShadowAncestor):
(WebCore::DOMSelection::shadowAdjustedNode const):
(WebCore::DOMSelection::shadowAdjustedOffset const):
* Source/WebCore/page/DOMSelection.h:
Canonical link: https://commits.webkit.org/308134@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications