[webkit-changes] [WebKit/WebKit] abebb3: Stop using CheckedPtr with CSSStyleSheet

Chris Dumez noreply at github.com
Fri Dec 15 10:07:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: abebb374a54b7d06343691be292636b9928366f6
      https://github.com/WebKit/WebKit/commit/abebb374a54b7d06343691be292636b9928366f6
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M Source/WebCore/css/CSSStyleSheet.h
    M Source/WebCore/style/StyleScope.h

  Log Message:
  -----------
  Stop using CheckedPtr with CSSStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=266479

Reviewed by Ryosuke Niwa.

Stop using CheckedPtr with CSSStyleSheet. Use WeakPtr instead to generate more
actionable crashes. This tested as performance neutral on Speedometer 2 & 3.

* Source/WebCore/css/CSSStyleSheet.h:
* Source/WebCore/style/StyleScope.h:

Canonical link: https://commits.webkit.org/272124@main




More information about the webkit-changes mailing list