| Summary: | Media Session: don't begin listening for interruptions when an interruption provider is created | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | conrad_shultz, eric.carlson, mrajca, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 145411 | ||||||
| Attachments: |
|
||||||
|
Description
Matt Rajca
2015-08-17 17:01:25 PDT
Created attachment 259212 [details]
Patch
Comment on attachment 259212 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259212&action=review > Source/WebCore/Modules/mediasession/MediaSessionManager.cpp:48 > + m_interruptionProvider->beginListeningForInterruptions(); Shouldn't this and stopListeningForInterruptions be pure virtual? (In reply to comment #3) > Comment on attachment 259212 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=259212&action=review > > > Source/WebCore/Modules/mediasession/MediaSessionManager.cpp:48 > > + m_interruptionProvider->beginListeningForInterruptions(); > > Shouldn't this and stopListeningForInterruptions be pure virtual? Yeah. That wasn't possible before since we were calling these in MediaSessionInterruptionProvider's constructor/destructor, but now that that responsibility has been demoted to the caller, I'll make the switch. Committed r188615: <http://trac.webkit.org/changeset/188615> |