| Summary: | [Mac] Restructure WebMediaSessionManager for testing | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||||
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, jer.noble, ossy, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Eric Carlson
2015-08-28 15:19:39 PDT
Created attachment 260189 [details]
Proposed patch.
Comment on attachment 260189 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=260189&action=review r=me, with nit. > Source/WebCore/Modules/mediasession/WebMediaSessionManager.h:48 > + WEBCORE_EXPORT static WebMediaSessionManager& singleton(); nit: singleton() is a weird nomenclature. I mean, in other places we use shared(), which implies that it's singleton. But this object is specifically not a singleton! Because it's overridable, it's a ... dual... ton. Or something. Created attachment 260193 [details]
Patch for landing.
Comment on attachment 260193 [details] Patch for landing. Clearing flags on attachment: 260193 Committed r189135: <http://trac.webkit.org/changeset/189135> The patch already landed, let's close the bug. |