Bug 226701 - Drop MainThreadTaskDispatcher and use callOnMainThread() instead
Summary: Drop MainThreadTaskDispatcher and use callOnMainThread() instead
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 226700
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-06 13:21 PDT by Chris Dumez
Modified: 2021-06-28 08:42 PDT (History)
6 users (show)

See Also:


Attachments
Patch (12.62 KB, patch)
2021-06-06 13:25 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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