Skip to content

Commit 5c8b09a

Browse files
committed
Use DestructionThread::Main for RTCRtpScriptTransform
https://bugs.webkit.org/show_bug.cgi?id=224368 <rdar://76404727> Reviewed by Eric Carlson. It is safer to make it DestructionThread::Main to guarantee it is destroyed in main thread. * Modules/mediastream/RTCRtpScriptTransform.h: Canonical link: https://commits.webkit.org/236385@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent d79cf05 commit 5c8b09a

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Source/WebCore/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2021-04-12 Youenn Fablet <youenn@apple.com>
2+
3+
Use DestructionThread::Main for RTCRtpScriptTransform
4+
https://bugs.webkit.org/show_bug.cgi?id=224368
5+
<rdar://76404727>
6+
7+
Reviewed by Eric Carlson.
8+
9+
It is safer to make it DestructionThread::Main to guarantee it is destroyed in main thread.
10+
11+
* Modules/mediastream/RTCRtpScriptTransform.h:
12+
113
2021-04-11 Cameron McCormack <heycam@apple.com>
214

315
Fix initial horizontal scrollbar position when vertical scrollbar is on the left.

Source/WebCore/Modules/mediastream/RTCRtpScriptTransform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class RTCRtpTransformBackend;
4141
class Worker;
4242

4343
class RTCRtpScriptTransform final
44-
: public ThreadSafeRefCounted<RTCRtpScriptTransform>
44+
: public ThreadSafeRefCounted<RTCRtpScriptTransform, WTF::DestructionThread::Main>
4545
, public ActiveDOMObject
4646
, public EventTargetWithInlineData {
4747
WTF_MAKE_ISO_ALLOCATED(RTCRtpScriptTransform);

0 commit comments

Comments
 (0)