Bug 218452

Summary: Duplicate copies of static RefPtr<Uint8Array> convertToUint8Array(IPC::SharedBufferCopy&& buffer) in RemoteLegacyCDMSession{Proxy}.cpp
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=218315

David Kilzer (:ddkilzer)
Reported 2020-11-02 10:16:54 PST
static RefPtr<Uint8Array> convertToUint8Array(IPC::SharedBufferCopy&& buffer) in these two files: Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp They even have slightly different implementations! There may be other code that could be shared as well. Found during a build fix for a patch on Bug 218315 (see <https://trac.webkit.org/r269251>).
Attachments
Radar WebKit Bug Importer
Comment 1 2020-11-09 10:17:14 PST
Note You need to log in before you can comment on or make changes to this bug.