Bug 226701

Summary: Drop MainThreadTaskDispatcher and use callOnMainThread() instead
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, ggaren, rniwa, sam, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=227367
Bug Depends on: 226700    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-06-06 13:21:53 PDT
Drop MainThreadTaskDispatcher and use callOnMainThread() instead. There is a no need for a global Timer or a Deque of tasks.
Comment 1 Chris Dumez 2021-06-06 13:25:34 PDT
Created attachment 430699 [details]
Patch
Comment 2 EWS 2021-06-06 23:16:30 PDT
Committed r278544 (238542@main): <https://commits.webkit.org/238542@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430699 [details].
Comment 3 Radar WebKit Bug Importer 2021-06-06 23:17:15 PDT
<rdar://problem/78935484>
Comment 4 Truitt Savell 2021-06-10 14:31:51 PDT
It looks like the changes in https://trac.webkit.org/changeset/278544/webkit

broke media/media-continues-playing-after-replace-source.html

tracking in https://bugs.webkit.org/show_bug.cgi?id=226899