Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 44f686979a890c8d5e6e4ae4fbbddfaf8ed539df
      
https://github.com/WebKit/WebKit/commit/44f686979a890c8d5e6e4ae4fbbddfaf8ed539df
  Author: Chris Dumez <[email protected]>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    M Source/WTF/wtf/FileSystem.cpp
    M Source/WTF/wtf/text/ASCIIFastPath.h
    M Source/WTF/wtf/text/StringCommon.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp

  Log Message:
  -----------
  Replace `String::fromUTF8(const LChar*)` with 
`String::fromUTF8(std::span<const char8_t>)`
https://bugs.webkit.org/show_bug.cgi?id=273799

Reviewed by Sihui Liu.

Replace `String::fromUTF8(const LChar*)` with `String::fromUTF8(std::span<const 
char8_t>)`
as we're transitioning towards using std::span, and using char8_t to represent 
UTF-8.

* Source/WTF/wtf/FileSystem.cpp:
(WTF::FileSystemImpl::fromStdFileSystemPath):
* Source/WTF/wtf/text/ASCIIFastPath.h:
* Source/WTF/wtf/text/StringCommon.h:
(WTF::span):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::fromUTF8Impl):
(WTF::String::fromUTF8):
(WTF::String::fromUTF8ReplacingInvalidSequences):
(WTF::String::fromUTF8WithLatin1Fallback):
* Source/WTF/wtf/text/WTFString.h:

Canonical link: https://commits.webkit.org/278442@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

Reply via email to