[webkit-changes] [WebKit/WebKit] 26c497: Use a smart pointer for SelectorQuery::CheckingCon...
Chris Dumez
noreply at github.com
Fri Jul 26 15:39:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 26c497c3d4bd57a5778ee6101195af99c1a9060f
https://github.com/WebKit/WebKit/commit/26c497c3d4bd57a5778ee6101195af99c1a9060f
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M Source/WebCore/css/SelectorChecker.cpp
M Source/WebCore/css/SelectorChecker.h
Log Message:
-----------
Use a smart pointer for SelectorQuery::CheckingContext::context
https://bugs.webkit.org/show_bug.cgi?id=277162
Reviewed by Darin Adler and Ryosuke Niwa.
Use a RefPtr instead of a raw pointer. No risk of reference cycle since
CheckingContext objects are always held on the stack.
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/css/SelectorChecker.h:
Canonical link: https://commits.webkit.org/281425@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