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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 10 14:32:18 PDT 2015


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

--- Comment #9 from Eric Carlson <eric.carlson at apple.com> ---
Comment on attachment 256610
  --> https://bugs.webkit.org/attachment.cgi?id=256610
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.

-- 
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/20150710/a360689f/attachment.html>


More information about the webkit-unassigned mailing list