Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 682140aa71c79cd53d1f77fa687f93c3267768eb
      
https://github.com/WebKit/WebKit/commit/682140aa71c79cd53d1f77fa687f93c3267768eb
  Author: Chris Dumez <cdu...@apple.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M Source/WebCore/css/StyleSheetContents.cpp
    M Source/WebCore/css/StyleSheetContents.h
    M Source/WebCore/style/StyleInvalidator.cpp
    M Source/WebCore/style/StyleInvalidator.h
    M Source/WebCore/style/StyleScope.cpp
    M Source/WebCore/style/StyleScope.h

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

Reviewed by Ryosuke Niwa.

Stop using CheckedPtr with StyleSheetContents. We can just use Ref / RefPtr as
CheckedPtr was only used for storing in a short-lived Vector.

* Source/WebCore/css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::StyleSheetContents):
* Source/WebCore/css/StyleSheetContents.h:
* Source/WebCore/style/StyleInvalidator.cpp:
(WebCore::Style::shouldDirtyAllStyle):
(WebCore::Style::Invalidator::Invalidator):
* Source/WebCore/style/StyleInvalidator.h:
* Source/WebCore/style/StyleScope.cpp:
(WebCore::Style::Scope::analyzeStyleSheetChange):
* Source/WebCore/style/StyleScope.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to