Summary: | Video track clone cannot preserve original property | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wendy <yuhan_wu> | ||||||
Component: | WebRTC | Assignee: | Wendy <yuhan_wu> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, eric.carlson, jer.noble, webkit-bug-importer, youennf | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Wendy
2018-09-21 18:50:45 PDT
Created attachment 350920 [details]
Patch
Comment on attachment 350920 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=350920&action=review > Source/WebCore/ChangeLog:8 > + Can you provide more information about changes? For instance describe what was the issue. > Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.h:43 > + static Ref<CanvasCaptureMediaStreamTrack> create(ScriptExecutionContext&, Ref<HTMLCanvasElement>&&, Ref<MediaStreamTrackPrivate>&& privateTrack); It might be good to not define this create() method and directly call adoptRef(*new ...) in CanvasCaptureMediaStreamTrack::clone(). Created attachment 350927 [details]
Patch
Comment on attachment 350927 [details] Patch Clearing flags on attachment: 350927 Committed r236536: <https://trac.webkit.org/changeset/236536> All reviewed patches have been landed. Closing bug. |