haikuwebkit/Source/WebCore/platform/text/hyphen
Chris Dumez 698c990225 Avoid some calls to StringView::toString() / StringView::toStringWithoutCopying()
https://bugs.webkit.org/show_bug.cgi?id=226803

Reviewed by Darin Adler.

Source/WebCore:

* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeFontVariationTag):
* page/FrameView.cpp:
(WebCore::FrameView::scrollToFragmentInternal):
* platform/text/hyphen/HyphenationLibHyphen.cpp:
(WebCore::lastHyphenLocation):
* rendering/RenderTreeAsText.cpp:
(WebCore::writeDebugInfo):

Source/WTF:

Add support to TextStream for printing a StringView directly, without having to convert
it to a String first.

* wtf/text/TextStream.cpp:
(WTF::TextStream::operator<<):
* wtf/text/TextStream.h:


Canonical link: https://commits.webkit.org/238651@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-09 20:46:24 +00:00
..
HyphenationLibHyphen.cpp Avoid some calls to StringView::toString() / StringView::toStringWithoutCopying() 2021-06-09 20:46:24 +00:00