Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7848283e833cea82820415748febac34784b83b7
https://github.com/WebKit/WebKit/commit/7848283e833cea82820415748febac34784b83b7
Author: Chris Dumez <[email protected]>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Use std::variant instead of std::pair for clarity in HTMLFastPathParser
https://bugs.webkit.org/show_bug.cgi?id=252377
Reviewed by Ryosuke Niwa.
This is perf-neutral on Speedometer.
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanText):
(WebCore::HTMLFastPathParser::scanAttributeValue):
(WebCore::HTMLFastPathParser::parseChildren):
(WebCore::HTMLFastPathParser::processAttribute):
(WebCore::HTMLFastPathParser::parseAttributes):
(WebCore::HTMLFastPathParser::parseContainerElement):
Canonical link: https://commits.webkit.org/260368@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes