Bug 206960

Summary: [PlayStation] Fix MIMETypeRegistry
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: New BugsAssignee: Ross Kirsling <ross.kirsling>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, don.olmstead, ews-watchlist, jcraig, jdiggs, samuel_white, stephan.szabo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=206478
Attachments:
Description Flags
Patch
none
Patch none

Description Ross Kirsling 2020-01-29 13:16:27 PST
[PlayStation] Fix WebCore build
Comment 1 Ross Kirsling 2020-01-29 13:17:45 PST
Created attachment 389176 [details]
Patch
Comment 2 Stephan Szabo 2020-01-29 13:37:01 PST
Comment on attachment 389176 [details]
Patch

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

> Source/WebCore/platform/playstation/MIMETypeRegistryPlayStation.cpp:31
> +const std::initializer_list<TypeExtensionPair> platformMediaTypes = {

It's probably better to do this as a function with a static like

static std::initializer_list<TypeExtensionPair> &platformMediaTypes() {
    static std::initializer_list<TypeExtensionPair> list = { /* ... */ };
    return list;
}
Comment 3 Ross Kirsling 2020-01-29 14:09:25 PST
Created attachment 389183 [details]
Patch
Comment 4 WebKit Commit Bot 2020-01-29 15:09:56 PST
Comment on attachment 389183 [details]
Patch

Clearing flags on attachment: 389183

Committed r255391: <https://trac.webkit.org/changeset/255391>
Comment 5 WebKit Commit Bot 2020-01-29 15:09:58 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2020-01-29 15:10:14 PST
<rdar://problem/59008687>