Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26c497c3d4bd57a5778ee6101195af99c1a9060f
      
https://github.com/WebKit/WebKit/commit/26c497c3d4bd57a5778ee6101195af99c1a9060f
  Author: Chris Dumez <cdu...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to