[webkit-changes] [WebKit/WebKit] b7c822: Move CSSSelectorParserContext to its own file
Tim Nguyen
noreply at github.com
Tue Nov 21 21:35:21 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b7c822739450db84fb5f89f0969112db84a9c934
https://github.com/WebKit/WebKit/commit/b7c822739450db84fb5f89f0969112db84a9c934
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/parser/CSSSelectorParser.cpp
M Source/WebCore/css/parser/CSSSelectorParser.h
A Source/WebCore/css/parser/CSSSelectorParserContext.cpp
A Source/WebCore/css/parser/CSSSelectorParserContext.h
Log Message:
-----------
Move CSSSelectorParserContext to its own file
https://bugs.webkit.org/show_bug.cgi?id=265220
rdar://118700294
Reviewed by Jean-Yves Avenard.
Allow constructing CSSSelectorParserContext outside of CSSSelectorParser without including the entirety of CSSSelectorParser.h
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParserContext::CSSSelectorParserContext): Deleted.
(WebCore::add): Deleted.
* Source/WebCore/css/parser/CSSSelectorParser.h:
(WebCore::CSSSelectorParserContextHash::hash): Deleted.
(WebCore::CSSSelectorParserContextHash::equal): Deleted.
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::constructDeletedValue): Deleted.
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::isDeletedValue): Deleted.
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::emptyValue): Deleted.
* Source/WebCore/css/parser/CSSSelectorParserContext.cpp: Added.
(WebCore::CSSSelectorParserContext::CSSSelectorParserContext):
(WebCore::add):
* Source/WebCore/css/parser/CSSSelectorParserContext.h: Added.
(WebCore::CSSSelectorParserContextHash::hash):
(WebCore::CSSSelectorParserContextHash::equal):
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::constructDeletedValue):
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::isDeletedValue):
(WTF::HashTraits<WebCore::CSSSelectorParserContext>::emptyValue):
Canonical link: https://commits.webkit.org/271035@main
More information about the webkit-changes
mailing list