Title: [283701] trunk/Source/WebKit
- Revision
- 283701
- Author
- [email protected]
- Date
- 2021-10-06 22:33:35 -0700 (Wed, 06 Oct 2021)
Log Message
_WKRemoteObjectRegistry's ReplyBlockCallChecker should always dealloc on the main thread
https://bugs.webkit.org/show_bug.cgi?id=231346
rdar://problem/83965481
Reviewed by Chris Dumez.
* Shared/API/Cocoa/_WKRemoteObjectRegistry.mm:
(-[_WKRemoteObjectRegistry _invokeMethod:]): Added WTF::DestructionThread::MainRunLoop to ReplyBlockCallChecker.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (283700 => 283701)
--- trunk/Source/WebKit/ChangeLog 2021-10-07 04:15:05 UTC (rev 283700)
+++ trunk/Source/WebKit/ChangeLog 2021-10-07 05:33:35 UTC (rev 283701)
@@ -1,3 +1,14 @@
+2021-10-06 Timothy Hatcher <[email protected]>
+
+ _WKRemoteObjectRegistry's ReplyBlockCallChecker should always dealloc on the main thread
+ https://bugs.webkit.org/show_bug.cgi?id=231346
+ rdar://problem/83965481
+
+ Reviewed by Chris Dumez.
+
+ * Shared/API/Cocoa/_WKRemoteObjectRegistry.mm:
+ (-[_WKRemoteObjectRegistry _invokeMethod:]): Added WTF::DestructionThread::MainRunLoop to ReplyBlockCallChecker.
+
2021-10-06 Wenson Hsieh <[email protected]>
Delete WebCore::DisplayList::SetInlineFillGradient
Modified: trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm (283700 => 283701)
--- trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm 2021-10-07 04:15:05 UTC (rev 283700)
+++ trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm 2021-10-07 05:33:35 UTC (rev 283701)
@@ -288,7 +288,7 @@
RetainPtr<_WKRemoteObjectRegistry> remoteObjectRegistry = self;
uint64_t replyID = replyInfo->replyID;
- class ReplyBlockCallChecker : public WTF::ThreadSafeRefCounted<ReplyBlockCallChecker> {
+ class ReplyBlockCallChecker : public WTF::ThreadSafeRefCounted<ReplyBlockCallChecker, WTF::DestructionThread::MainRunLoop> {
public:
static Ref<ReplyBlockCallChecker> create(_WKRemoteObjectRegistry *registry, uint64_t replyID) { return adoptRef(*new ReplyBlockCallChecker(registry, replyID)); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes