Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05b8ba834d02cd8d9fc80b25debee7a9da4c1154
      
https://github.com/WebKit/WebKit/commit/05b8ba834d02cd8d9fc80b25debee7a9da4c1154
  Author: Cole Carley <[email protected]>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M Source/WTF/wtf/CheckedRef.h
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/UniqueRef.h

  Log Message:
  -----------
  Update UniqueRef's expected malloc strategy message
https://bugs.webkit.org/show_bug.cgi?id=311300
rdar://173893471

Reviewed by Marcus Plutowski.

I change the messages to suggest TZoneMalloc instead of the
deprecated FastMalloc when creating a UniquePtr<T>. I did
the same for CanMakeCheckedPtr and CanMakeThreadSafeCheckedPtr.

* Source/WTF/wtf/CheckedRef.h:
(WTF::CanMakeCheckedPtr::~CanMakeCheckedPtr):
(WTF::CanMakeThreadSafeCheckedPtr::~CanMakeThreadSafeCheckedPtr):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::makeUnique):
(WTF::makeUniqueWithoutRefCountedCheck):
* Source/WTF/wtf/UniqueRef.h:
(WTF::makeUniqueRefWithoutRefCountedCheck):
(WTF::makeUniqueRef):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to