Title: [275815] trunk/Source/WebCore
Revision
275815
Author
[email protected]
Date
2021-04-12 01:05:01 -0700 (Mon, 12 Apr 2021)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (275814 => 275815)


--- trunk/Source/WebCore/ChangeLog	2021-04-12 06:02:16 UTC (rev 275814)
+++ trunk/Source/WebCore/ChangeLog	2021-04-12 08:05:01 UTC (rev 275815)
@@ -1,3 +1,15 @@
+2021-04-12  Youenn Fablet  <[email protected]>
+
+        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:
+
 2021-04-11  Cameron McCormack  <[email protected]>
 
         Fix initial horizontal scrollbar position when vertical scrollbar is on the left.

Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpScriptTransform.h (275814 => 275815)


--- trunk/Source/WebCore/Modules/mediastream/RTCRtpScriptTransform.h	2021-04-12 06:02:16 UTC (rev 275814)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpScriptTransform.h	2021-04-12 08:05:01 UTC (rev 275815)
@@ -41,7 +41,7 @@
 class Worker;
 
 class RTCRtpScriptTransform final
-    : public ThreadSafeRefCounted<RTCRtpScriptTransform>
+    : public ThreadSafeRefCounted<RTCRtpScriptTransform, WTF::DestructionThread::Main>
     , public ActiveDOMObject
     , public EventTargetWithInlineData {
     WTF_MAKE_ISO_ALLOCATED(RTCRtpScriptTransform);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to