Bug 225996

Summary: [GPUProcess] It is not safe to call GraphicsContext::paintFrameForMedia() off the main thread
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: MediaAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, kkinnunen, peng.liu6, philipj, sergio, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-05-19 17:05:22 PDT
It is not safe to call GraphicsContext::paintFrameForMedia() off the main thread in the GPUProcess. It relies on the MediaPlayer which is a main-thread object.
Comment 1 Chris Dumez 2021-05-19 17:09:38 PDT
Created attachment 429114 [details]
Patch
Comment 2 EWS 2021-05-19 22:05:28 PDT
Committed r277774 (237935@main): <https://commits.webkit.org/237935@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429114 [details].
Comment 3 Radar WebKit Bug Importer 2021-05-19 22:06:39 PDT
<rdar://problem/78241935>