Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 98c664538460ba8b172b12892675c7a00a728de9
      
https://github.com/WebKit/WebKit/commit/98c664538460ba8b172b12892675c7a00a728de9
  Author: Žan Doberšek <[email protected]>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M Source/WTF/wtf/Logger.cpp
    M Source/WTF/wtf/Logger.h
    M Source/WTF/wtf/MediaTime.cpp
    M Source/WTF/wtf/URL.cpp
    M Source/WTF/wtf/URLParser.cpp

  Log Message:
  -----------
  Adopt ASCIILiterals in makeString, tryMakeString, operator+ calls inside WTF
https://bugs.webkit.org/show_bug.cgi?id=251981

Reviewed by Darin Adler.

Convert different cases of makeString(), tryMakeString() and 
StringAppend-producing
operator+ calls from using native C string literals to using more-desired 
ASCIILiterals.

* Source/WTF/wtf/Logger.cpp:
(WTF::Logger::LogSiteIdentifier::toString const):
* Source/WTF/wtf/Logger.h:
(WTF::Logger::logVerbose):
* Source/WTF/wtf/MediaTime.cpp:
(WTF::MediaTime::toString const):
* Source/WTF/wtf/URL.cpp:
(WTF::URL::setHost):
(WTF::URL::setHostAndPort):
(WTF::URL::setUser):
(WTF::URL::setPassword):
(WTF::URL::setQuery):
(WTF::URL::stringCenterEllipsizedToLength const):
(WTF::URL::fileURLWithFileSystemPath):
* Source/WTF/wtf/URLParser.cpp:
(WTF::URLParser::addNonSpecialDotSlash):

Canonical link: https://commits.webkit.org/260153@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to