Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7014e9cf32af78289b561efe5a893796060a515b
https://github.com/WebKit/WebKit/commit/7014e9cf32af78289b561efe5a893796060a515b
Author: Ryosuke Niwa <[email protected]>
Date: 2026-03-01 (Sun, 01 Mar 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/ElementData.cpp
M Source/WebCore/dom/ElementData.h
Log Message:
-----------
Annotate Element's member functions to get an attribute with NODELETE
https://bugs.webkit.org/show_bug.cgi?id=308888
Reviewed by Chris Dumez.
Added NODELETE annotations on the member functions of Element which queries an
attribute.
No new tests since there should be no behavioral changes.
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/ElementData.cpp:
(WebCore::UniqueElementData::findAttributeByName):
* Source/WebCore/dom/ElementData.h:
(WebCore::ShareableElementData::attributes):
(WebCore::ShareableElementData::attributes const):
(WebCore::ElementData::findAttributeByName const):
(WebCore::ElementData::findAttributeIndexByName const):
(WebCore::ElementData::attributeAt const):
(WebCore::UniqueElementData::attributeAt):
Canonical link: https://commits.webkit.org/308422@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications