<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Media Session: add plumbing for delivering start-of-interruption events"
href="https://bugs.webkit.org/show_bug.cgi?id=146837#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Media Session: add plumbing for delivering start-of-interruption events"
href="https://bugs.webkit.org/show_bug.cgi?id=146837">bug 146837</a>
from <span class="vcard"><a class="email" href="mailto:eric.carlson@apple.com" title="Eric Carlson <eric.carlson@apple.com>"> <span class="fn">Eric Carlson</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=256610&action=diff" name="attach_256610" title="Patch">attachment 256610</a> <a href="attachment.cgi?id=256610&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=256610&action=review">https://bugs.webkit.org/attachment.cgi?id=256610&action=review</a>
<span class="quote">>> 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.</span >
Or rather, if you do that then you can use a static_cast to convert values.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>