[Webkit-unassigned] [Bug 146837] Media Session: add plumbing for delivering start/end-of-interruption events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 13 10:47:09 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146837

--- Comment #12 from Matt Rajca <mrajca at apple.com> ---
(In reply to comment #9)
> Comment on attachment 256610 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=256610&action=review
> 
> >> Source/WebKit2/UIProcess/API/C/WKPage.cpp:2192
> >> +void WKPageHandleStartOfInterruptionEvent(WKPageRef page, WKMediaSessionInterruptingCategory wkCategory)
> > 
> > You should COMPILE_ASSERT([value in MediaEventType] == [value in WKMediaEventTypes] for each value to make sure the enums stay in sync. See HTMLTrackElement.cpp for an example.
> 
> Or rather, if you do that then you can use a static_cast to convert values.

Added the static assertions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150713/a43dbe6d/attachment.html>


More information about the webkit-unassigned mailing list