Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 00ac418f1c25f38663310dd4cfd7ded3cd8ae371
https://github.com/WebKit/WebKit/commit/00ac418f1c25f38663310dd4cfd7ded3cd8ae371
Author: Geoffrey Garen <[email protected]>
Date: 2026-01-22 (Thu, 22 Jan 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M Source/WebCore/contentextensions/ContentExtensionsBackend.cpp
M Source/WebCore/css/CSSStyleSheet.cpp
M Source/WebCore/css/FontFaceSet.cpp
M Source/WebCore/css/MediaQueryMatcher.cpp
M Source/WebCore/css/SelectorChecker.cpp
M Source/WebCore/css/SelectorFilter.cpp
M Source/WebCore/css/StyleAttributeMutationScope.h
M Source/WebCore/css/StyleRuleImport.cpp
M Source/WebCore/css/typedom/ComputedStylePropertyMapReadOnly.cpp
M Source/WebCore/dom/CollectionIndexCacheInlines.h
M Source/WebCore/dom/CustomElementReactionQueue.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/ElementInlines.h
M Source/WebCore/dom/ElementTextDirection.cpp
M Source/WebCore/dom/ElementTraversal.h
M Source/WebCore/dom/EventLoop.cpp
M Source/WebCore/dom/EventPath.cpp
M Source/WebCore/dom/InlineStyleSheetOwner.cpp
M Source/WebCore/dom/MouseRelatedEvent.cpp
M Source/WebCore/dom/Node.cpp
M Source/WebCore/dom/NodeTraversal.cpp
M Source/WebCore/dom/Position.cpp
M Source/WebCore/dom/RadioButtonGroups.cpp
M Source/WebCore/dom/Range.cpp
M Source/WebCore/dom/ShadowRoot.cpp
M Source/WebCore/dom/SimpleRange.cpp
M Source/WebCore/dom/SlotAssignment.cpp
M Source/WebCore/dom/TreeScope.cpp
M Source/WebCore/dom/TypedElementDescendantIteratorInlines.h
M Source/WebCore/dom/ViewTransition.cpp
Log Message:
-----------
Fixed unchecked local variable warnings in WebCore/{css, dom}
https://bugs.webkit.org/show_bug.cgi?id=305607
rdar://168263096
Reviewed by Ryosuke Niwa.
Mechanical fixes dictated by the SaferCPP bot.
I used SUPPRESS_ in a few places where the usage is trivial (though not
verifiably so) and it might be hot.
I also used .unsafeGet(), which is OK (but not ideal) in CheckedPtr because
releasing a CheckedPtr reference does not delete the object.
Canonical link: https://commits.webkit.org/306021@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications