[webkit-changes] [WebKit/WebKit] 682140: Stop using CheckedPtr with StyleSheetContents
Chris Dumez
noreply at github.com
Thu Dec 14 16:10:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 682140aa71c79cd53d1f77fa687f93c3267768eb
https://github.com/WebKit/WebKit/commit/682140aa71c79cd53d1f77fa687f93c3267768eb
Author: Chris Dumez <cdumez at 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
More information about the webkit-changes
mailing list