[webkit-changes] [WebKit/WebKit] c65a2e: WeakPtrImplBaseSingleThread should cast this to De...
Ryosuke Niwa
noreply at github.com
Wed May 15 23:36:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c65a2e7636f8537f35aee3f6d3f35cbdc193034d
https://github.com/WebKit/WebKit/commit/c65a2e7636f8537f35aee3f6d3f35cbdc193034d
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-15 (Wed, 15 May 2024)
Changed paths:
M Source/WTF/wtf/WeakPtrImpl.h
Log Message:
-----------
WeakPtrImplBaseSingleThread should cast this to Derived before calling delete
https://bugs.webkit.org/show_bug.cgi?id=274240
Reviewed by Chris Dumez.
Cast this to Derived* before invoking delete operator on it.
* Source/WTF/wtf/WeakPtrImpl.h:
(WTF::WeakPtrImplBaseSingleThread::deref const):
Canonical link: https://commits.webkit.org/278849@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