Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ea31739e586c9c1c1cde13fbf0e7ff97cfea1b64
https://github.com/WebKit/WebKit/commit/ea31739e586c9c1c1cde13fbf0e7ff97cfea1b64
Author: Chris Dumez <[email protected]>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M Source/WTF/wtf/JSONValues.cpp
M Source/WTF/wtf/text/StringImpl.cpp
M Source/WTF/wtf/text/StringView.h
M Source/WTF/wtf/text/WTFString.cpp
M Source/WTF/wtf/text/WTFString.h
M Source/WebCore/css/parser/CSSParserFastPaths.cpp
M Source/WebCore/css/parser/CSSTokenizerInputStream.cpp
M Source/WebCore/dom/ViewportArguments.cpp
M Source/WebCore/html/track/VTTScanner.cpp
M Source/WebCore/platform/Length.cpp
Log Message:
-----------
Update charactersToDouble() / charactersToFloat() to take in a std::span
https://bugs.webkit.org/show_bug.cgi?id=272012
Reviewed by Darin Adler.
* Source/WTF/wtf/JSONValues.cpp:
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::toDouble):
(WTF::StringImpl::toFloat):
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::toFloat const):
(WTF::StringView::toDouble const):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::toDoubleType):
(WTF::charactersToDouble):
(WTF::charactersToFloat):
* Source/WTF/wtf/text/WTFString.h:
* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
(WebCore::parseCSSNumber):
(WebCore::parseSimpleLength):
(WebCore::parseSimpleAngle):
(WebCore::parseSimpleLengthValue):
(WebCore::parseTransformTranslateArguments):
(WebCore::parseTransformAngleArgument):
(WebCore::parseTransformNumberArguments):
* Source/WebCore/css/parser/CSSTokenizerInputStream.cpp:
(WebCore::CSSTokenizerInputStream::getDouble const):
* Source/WebCore/dom/ViewportArguments.cpp:
(WebCore::numericPrefix):
* Source/WebCore/html/track/VTTScanner.cpp:
(WebCore::VTTScanner::scanFloat):
* Source/WebCore/platform/Length.cpp:
(WebCore::parseLength):
(WebCore::newLengthArray):
Canonical link: https://commits.webkit.org/276933@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes