Bug 206960 - [PlayStation] Fix MIMETypeRegistry
Summary: [PlayStation] Fix MIMETypeRegistry
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ross Kirsling
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-29 13:16 PST by Ross Kirsling
Modified: 2020-01-29 15:10 PST (History)
12 users (show)

See Also:


Attachments
Patch (4.60 KB, patch)
2020-01-29 13:17 PST, Ross Kirsling
no flags Details | Formatted Diff | Diff
Patch (4.03 KB, patch)
2020-01-29 14:09 PST, Ross Kirsling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>