[webkit-changes] [WebKit/WebKit] a4a734: Address safer C++ static analysis warnings in Elem...
Fady Farag
noreply at github.com
Mon Feb 24 13:17:55 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a4a7342013a5e62e20e8e13a920cd36092409c58
https://github.com/WebKit/WebKit/commit/a4a7342013a5e62e20e8e13a920cd36092409c58
Author: Fady Farag <com.idmsa at gmail.com>
Date: 2025-02-24 (Mon, 24 Feb 2025)
Changed paths:
M Source/WebCore/dom/ElementAncestorIterator.h
M Source/WebCore/dom/ElementAncestorIteratorInlines.h
Log Message:
-----------
Address safer C++ static analysis warnings in ElementAncestorIterator
https://bugs.webkit.org/show_bug.cgi?id=288293
rdar://problem/145374613
Reviewed by Chris Dumez.
Fix a clang static analyzer warning caused by using a raw reference to
store element in ElementAncestorIterator.
* Source/WebCore/dom/ElementAncestorIterator.h:
(WebCore::ElementAncestorRange::first const):
* Source/WebCore/dom/ElementAncestorIteratorInlines.h:
(WebCore::ElementAncestorRange<ElementType>::begin const):
Canonical link: https://commits.webkit.org/290970@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