[webkit-changes] [WebKit/WebKit] 837e13: Drop CString::mutableData(), in favor of mutableSp...
Chris Dumez
noreply at github.com
Fri Dec 13 07:43:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 837e13b4365be7092a7f31e63e271ebf4beeb608
https://github.com/WebKit/WebKit/commit/837e13b4365be7092a7f31e63e271ebf4beeb608
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M Source/JavaScriptCore/runtime/IntlDisplayNames.cpp
M Source/WTF/wtf/cocoa/FileSystemCocoa.mm
M Source/WTF/wtf/darwin/OSLogPrintStream.mm
M Source/WTF/wtf/posix/FileSystemPOSIX.cpp
M Source/WTF/wtf/text/CString.cpp
M Source/WTF/wtf/text/CString.h
M Source/WebKit/UIProcess/mac/WebPageProxyMac.mm
M Tools/TestWebKitAPI/Tests/WTF/CString.cpp
M Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp
Log Message:
-----------
Drop CString::mutableData(), in favor of mutableSpan()
https://bugs.webkit.org/show_bug.cgi?id=284580
Reviewed by Darin Adler.
* Source/JavaScriptCore/runtime/IntlDisplayNames.cpp:
(JSC::IntlDisplayNames::of const):
* Source/WTF/wtf/cocoa/FileSystemCocoa.mm:
(WTF::FileSystemImpl::createTemporaryZipArchive):
* Source/WTF/wtf/darwin/OSLogPrintStream.mm:
(WTF::OSLogPrintStream::vprintf):
* Source/WTF/wtf/posix/FileSystemPOSIX.cpp:
(WTF::FileSystemImpl::makeAllDirectories):
* Source/WTF/wtf/text/CString.cpp:
(WTF::CStringBuffer::createUninitialized):
(WTF::CString::copyBufferIfNeeded):
(WTF::CString::grow):
(WTF::CString::mutableData): Deleted.
* Source/WTF/wtf/text/CString.h:
(WTF::CString::data const):
(WTF::CString::spanIncludingNullTerminator const):
* Source/WebKit/UIProcess/mac/WebPageProxyMac.mm:
(WebKit::temporaryPDFDirectoryPath):
(WebKit::pathToPDFOnDisk):
* Tools/TestWebKitAPI/Tests/WTF/CString.cpp:
(TEST(WTF, CStringCopyOnWrite)):
* Tools/TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp:
(TestWebKitAPI::toUpper):
Canonical link: https://commits.webkit.org/287795@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list