Bug 220411

Summary: PaintFrameForMedia has a null identifier when media player is a media stream track video player
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer, wenson_hsieh, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Reuploading to run on bots none

Description youenn fablet 2021-01-07 06:35:40 PST
PaintFrameForMedia has a null identifier when media player is a media stream track video player
Comment 1 Radar WebKit Bug Importer 2021-01-07 06:52:58 PST
<rdar://problem/72888461>
Comment 2 youenn fablet 2021-01-07 06:55:06 PST
Created attachment 417176 [details]
Patch
Comment 3 Wenson Hsieh 2021-01-07 10:03:54 PST
Comment on attachment 417176 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417176&action=review

> Source/WebCore/platform/graphics/GraphicsContextImpl.h:108
> +    virtual bool canPaintFrameForMedia(const MediaPlayer&) const = 0;

I think you'll need to update this method for other platforms as well (i.e. Windows, Cairo, Nicosia).
Comment 4 Wenson Hsieh 2021-01-07 10:04:36 PST
Comment on attachment 417176 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417176&action=review

> Source/WebCore/ChangeLog:12
> +        Covered by test in gu process mode.

Nit - "gu" => "GPU"
Comment 5 youenn fablet 2021-01-08 02:51:53 PST
Created attachment 417259 [details]
Reuploading to run on bots
Comment 6 EWS 2021-01-08 07:26:40 PST
Committed r271295: <https://trac.webkit.org/changeset/271295>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417259 [details].