Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67af9ec1a5aaf41ae43ccdf87c6f9d0e36efc9dc
      
https://github.com/WebKit/WebKit/commit/67af9ec1a5aaf41ae43ccdf87c6f9d0e36efc9dc
  Author: Chris Dumez <[email protected]>
  Date:   2025-07-05 (Sat, 05 Jul 2025)

  Changed paths:
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h

  Log Message:
  -----------
  Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE in StringImpl.cpp
https://bugs.webkit.org/show_bug.cgi?id=295254

Reviewed by Darin Adler.

Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE in StringImpl.cpp, for safety.
This tested as performance neutral on Speedometer and JetStream.

* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::characterStartingAt):
(WTF::StringImpl::convertToLowercaseWithoutLocale):
(WTF::StringImpl::convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit):
(WTF::StringImpl::convertToUppercaseWithoutLocale):
(WTF::StringImpl::convertToUppercaseWithoutLocaleStartingAtFailingIndex8Bit):
(WTF::StringImpl::foldCase):
(WTF::StringImpl::trimMatchedCharacters):
(WTF::StringImpl::trim):
(WTF::StringImpl::simplifyMatchedCharactersToSpace):
(WTF::StringImpl::find):
* Source/WTF/wtf/text/StringImpl.h:

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