Restructure so it is possible to use a Mock target picker.
<rdar://problem/22483489>
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.