Summary: | Create media mime type cache base class to reduce duplicate code | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||||||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | commit-queue, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | Other | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Eric Carlson
2019-12-29 14:32:47 PST
Created attachment 386498 [details]
Patch
Created attachment 386501 [details]
Patch
Created attachment 386504 [details]
Patch
Comment on attachment 386504 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386504&action=review r=me with nits. > Source/WebCore/platform/graphics/MIMETypeCache.h:48 > + WEBCORE_EXPORT void setSupportedTypes(const Vector<String>&); Nit: The implementation doesn’t match the name here. It doesn’t replace the existing set of supported types, instead it adds new types to the existing set. ‘addSupportedTypes’ maybe? > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:263 > + if (AVStreamDataParserMIMETypeCache::singleton().isAvailable()) This could use a “auto cache = ...” so you’re not calling the singleton() method so much. Created attachment 386541 [details]
Patch
The commit-queue encountered the following flaky tests while processing attachment 386541 [details]: highlight/highlight-world-leak.html bug 205643 (author: megan_gardner@apple.com) The commit-queue is continuing to process your patch. Comment on attachment 386541 [details] Patch Clearing flags on attachment: 386541 Committed r253952: <https://trac.webkit.org/changeset/253952> All reviewed patches have been landed. Closing bug. |