Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 589918a2e5d5e0153b6fccc9798ed44959668344
https://github.com/WebKit/WebKit/commit/589918a2e5d5e0153b6fccc9798ed44959668344
Author: Fady Farag <[email protected]>
Date: 2025-11-15 (Sat, 15 Nov 2025)
Changed paths:
M Source/JavaScriptCore/dfg/DFGCSEPhase.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm
Log Message:
-----------
Use WTF::makeUnique<T>() instead of .reset(new T())
https://bugs.webkit.org/show_bug.cgi?id=302577
rdar://164798897
Reviewed by Chris Dumez.
This improves exception safety and aligns with modern C++ practices.
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm
* Source/JavaScriptCore/dfg/DFGCSEPhase.cpp:
* Source/WebCore/platform/video-codecs/cocoa/RTCVideoDecoderVTBAV1.mm:
(-[RTCVideoDecoderVTBAV1 decodeData:size:timeStamp:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:
Canonical link: https://commits.webkit.org/303087@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications