| Summary: | MediaSession: Support setting of metadata | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | conrad_shultz, eric.carlson, jer.noble, mrajca, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 145411 | ||||||
| Attachments: |
|
||||||
|
Description
Matt Rajca
2015-06-23 15:31:20 PDT
Created attachment 255464 [details]
Patch
Comment on attachment 255464 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255464&action=review > Source/WebCore/Modules/mediasession/MediaSession.cpp:39 > + : m_scriptExecutionContext(&context) Unless you will need the ScriptExecutionContext for something else later, I think we should capture a reference to the document instead as the only thing we do with the ScriptExecutionContext is get its document. Committed r185914: <http://trac.webkit.org/changeset/185914> (In reply to comment #3) > Comment on attachment 255464 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=255464&action=review > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:39 > > + : m_scriptExecutionContext(&context) > > Unless you will need the ScriptExecutionContext for something else later, I > think we should capture a reference to the document instead as the only > thing we do with the ScriptExecutionContext is get its document. Changed. Thanks! |