[webkit-changes] [WebKit/WebKit] 754f4b: Use smart pointers to store reference to Element i...
Fady Farag
noreply at github.com
Sun Feb 9 13:21:32 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 754f4bc24546b87e9e8c0cfb8bae07fa90a41cd8
https://github.com/WebKit/WebKit/commit/754f4bc24546b87e9e8c0cfb8bae07fa90a41cd8
Author: Fady Farag <com.idmsa at gmail.com>
Date: 2025-02-09 (Sun, 09 Feb 2025)
Changed paths:
M Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
M Source/WebCore/style/IdChangeInvalidation.cpp
M Source/WebCore/style/IdChangeInvalidation.h
Log Message:
-----------
Use smart pointers to store reference to Element in IdChangeInvalidation.
https://bugs.webkit.org/show_bug.cgi?id=287349
rdar://problem/144463136
Reviewed by Chris Dumez.
Fix a clang static analyzer warning caused by using a raw reference to
store element in IdChangeInvalidation.
* Source/WebCore/style/IdChangeInvalidation.cpp:
(WebCore::Style::IdChangeInvalidation::invalidateStyle):
* Source/WebCore/style/IdChangeInvalidation.h:
(WebCore::Style::IdChangeInvalidation::IdChangeInvalidation):
Canonical link: https://commits.webkit.org/290128@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