Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2cbe341201a96b41d166925f058301faefa11e24
https://github.com/WebKit/WebKit/commit/2cbe341201a96b41d166925f058301faefa11e24
Author: Chris Dumez <[email protected]>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations
M Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/css/CSSCounterStyleRule.h
M Source/WebCore/css/CSSFontFace.cpp
M Source/WebCore/css/CSSFontFaceRule.cpp
M Source/WebCore/css/CSSGroupingRule.cpp
M Source/WebCore/css/CSSKeyframesRule.cpp
M Source/WebCore/css/CSSNestedDeclarations.cpp
M Source/WebCore/css/CSSPageRule.cpp
M Source/WebCore/css/CSSRuleList.h
M Source/WebCore/css/CSSStyleProperties.cpp
M Source/WebCore/css/CSSStyleRule.cpp
M Source/WebCore/css/CSSStyleSheet.cpp
M Source/WebCore/css/CSSStyleSheetObservableArray.cpp
M Source/WebCore/css/FontFaceSet.cpp
M Source/WebCore/css/ShorthandSerializer.cpp
M Source/WebCore/css/StyleRuleImport.h
M Source/WebCore/css/StyleSheetContents.cpp
M Source/WebCore/css/StyleSheetContents.h
M Source/WebCore/css/typedom/numeric/CSSMathValue.h
M Source/WebCore/css/typedom/transform/CSSSkewY.cpp
Log Message:
-----------
[Safer CPP] Address Safer C++ static analysis warnings in WebCore/css CSSOM
code
https://bugs.webkit.org/show_bug.cgi?id=325928
Reviewed by Rupin Mittal.
Fix Safer C++ warnings in the CSSOM files under Source/WebCore/css and update
the expectations accordingly. Hot code used during style resolution and selector
matching is left alone.
* Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/css/CSSCounterStyleRule.h:
* Source/WebCore/css/CSSFontFace.cpp:
(WebCore::CSSFontFace::family const):
(WebCore::CSSFontFace::style const):
(WebCore::CSSFontFace::weight const):
(WebCore::CSSFontFace::width const):
(WebCore::CSSFontFace::unicodeRange const):
(WebCore::CSSFontFace::featureSettings const):
(WebCore::CSSFontFace::sizeAdjust const):
(WebCore::CSSFontFace::ascentOverride const):
(WebCore::CSSFontFace::descentOverride const):
(WebCore::CSSFontFace::lineGapOverride const):
(WebCore::CSSFontFace::display const):
* Source/WebCore/css/CSSFontFaceRule.cpp:
(WebCore::CSSFontFaceRule::style):
(WebCore::CSSFontFaceRule::cssText const):
* Source/WebCore/css/CSSGroupingRule.cpp:
(WebCore::CSSGroupingRule::insertRule):
* Source/WebCore/css/CSSKeyframesRule.cpp:
(WebCore::CSSKeyframesRule::cssText const):
* Source/WebCore/css/CSSNestedDeclarations.cpp:
(WebCore::CSSNestedDeclarations::style):
(WebCore::CSSNestedDeclarations::cssText const):
(WebCore::CSSNestedDeclarations::reattach):
* Source/WebCore/css/CSSPageRule.cpp:
(WebCore::CSSPageRule::style):
(WebCore::CSSPageRule::cssText const):
* Source/WebCore/css/CSSRuleList.h:
* Source/WebCore/css/CSSStyleProperties.cpp:
(WebCore::StyleRuleCSSStyleProperties::willMutate):
(WebCore::StyleRuleCSSStyleProperties::didMutate):
* Source/WebCore/css/CSSStyleRule.cpp:
(WebCore::CSSStyleRule::cssText const):
* Source/WebCore/css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::forEachStyleScope):
(WebCore::CSSStyleSheet::item):
(WebCore::CSSStyleSheet::addAdoptingTreeScope):
(WebCore::CSSStyleSheet::removeAdoptingTreeScope):
* Source/WebCore/css/CSSStyleSheetObservableArray.cpp:
(WebCore::CSSStyleSheetObservableArray::setValueAt):
* Source/WebCore/css/FontFaceSet.cpp:
(WebCore::FontFaceSet::Iterator::next):
* Source/WebCore/css/ShorthandSerializer.cpp:
(WebCore::ShorthandSerializer::serializeGridArea const):
(WebCore::ShorthandSerializer::serializeGridRowColumn const):
* Source/WebCore/css/StyleRuleImport.h:
* Source/WebCore/css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::traverseSubresources const):
(WebCore::StyleSheetContents::subresourcesAllowReuse const):
(WebCore::StyleSheetContents::mayDependOnBaseURL const):
(WebCore::StyleSheetContents::ownerRule const):
* Source/WebCore/css/StyleSheetContents.h:
* Source/WebCore/css/typedom/numeric/CSSMathValue.h:
(WebCore::CSSMathValue::equalsImpl const):
* Source/WebCore/css/typedom/transform/CSSSkewY.cpp:
(WebCore::CSSSkewY::create):
Canonical link: https://commits.webkit.org/322445@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications