Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51eb56ff86f6f7f4b89f2ba3054d4cc9cc2aa8c6
      
https://github.com/WebKit/WebKit/commit/51eb56ff86f6f7f4b89f2ba3054d4cc9cc2aa8c6
  Author: Chris Dumez <[email protected]>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M Source/WTF/wtf/FastBitVector.cpp
    M Source/WTF/wtf/FastBitVector.h

  Log Message:
  -----------
  Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE in WTF::FastBitVector
https://bugs.webkit.org/show_bug.cgi?id=295562

Reviewed by Darin Adler.

Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE in WTF::FastBitVector, for safety.
This tested as performance neutral on JetStream and Speedometer.

* Source/WTF/wtf/FastBitVector.cpp:
(WTF::FastBitVectorWordOwner::setEqualsSlow):
(WTF::FastBitVectorWordOwner::resizeSlow):
* Source/WTF/wtf/FastBitVector.h:
(WTF::FastBitVectorWordView::numBits const):
(WTF::FastBitVectorWordView::word const):
(WTF::FastBitVectorWordView::words const):
(WTF::FastBitVectorWordOwner::operator=):
(WTF::FastBitVectorWordOwner::setAll):
(WTF::FastBitVectorWordOwner::clearAll):
(WTF::FastBitVectorWordOwner::set):
(WTF::FastBitVectorWordOwner::numBits const):
(WTF::FastBitVectorWordOwner::arrayLength const):
(WTF::FastBitVectorWordOwner::word const):
(WTF::FastBitVectorWordOwner::word):
(WTF::FastBitVectorWordOwner::words):
(WTF::FastBitVectorWordOwner::words const):
(WTF::FastBitVectorWordOwner::wordsSpan): Deleted.
(WTF::FastBitVectorWordOwner::wordsSpan const): Deleted.

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