[webkit-changes] [WebKit/WebKit] fc5d16: Remove constructor map for HTML/SVG/MathML factories
Yusuke Suzuki
noreply at github.com
Sat Nov 18 10:10:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc5d165025845c6bfbdde87c860a4ae542d48233
https://github.com/WebKit/WebKit/commit/fc5d165025845c6bfbdde87c860a4ae542d48233
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M Source/WebCore/dom/make_names.pl
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Remove constructor map for HTML/SVG/MathML factories
https://bugs.webkit.org/show_bug.cgi?id=265015
rdar://118554832
Reviewed by Ryosuke Niwa.
This patch removes constructor map for HTML/SVG/MathML factories.
We should just use ElementName / TagName to dispatch appropriate constructors with switch statement.
* Source/WebCore/dom/make_names.pl:
(printNodeNameHeaderFile):
(printNodeNameCppFile):
(printFactoryCppFile):
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanTagName):
Canonical link: https://commits.webkit.org/270944@main
More information about the webkit-changes
mailing list