[webkit-changes] [WebKit/WebKit] 85e5f0: Use smart pointers to store reference to Element i...
Fady Farag
noreply at github.com
Sun Feb 16 10:05:35 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85e5f0887c9b0aa4a6776e022e41eefe72be010e
https://github.com/WebKit/WebKit/commit/85e5f0887c9b0aa4a6776e022e41eefe72be010e
Author: Fady Farag <com.idmsa at gmail.com>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
M Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
M Source/WebCore/style/AttributeChangeInvalidation.cpp
M Source/WebCore/style/AttributeChangeInvalidation.h
Log Message:
-----------
Use smart pointers to store reference to Element in AttributeChangeInvalidation
https://bugs.webkit.org/show_bug.cgi?id=287757
rdar://problem/144925334
Reviewed by Chris Dumez.
Fix a clang static analyzer warning caused by using a raw reference to
store element in AttributeChangeInvalidation.
* Source/WebCore/style/AttributeChangeInvalidation.cpp:
(WebCore::Style::AttributeChangeInvalidation::invalidateStyle):
* Source/WebCore/style/AttributeChangeInvalidation.h:
(WebCore::Style::AttributeChangeInvalidation::AttributeChangeInvalidation):
Canonical link: https://commits.webkit.org/290460@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list