<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/end-of-interruption events"
   href="https://bugs.webkit.org/show_bug.cgi?id=146837#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: add plumbing for delivering start/end-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:mrajca&#64;apple.com" title="Matt Rajca &lt;mrajca&#64;apple.com&gt;"> <span class="fn">Matt Rajca</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=146837#c9">comment #9</a>)
<span class="quote">&gt; Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=256610&amp;action=diff" name="attach_256610" title="Patch">attachment 256610</a> <a href="attachment.cgi?id=256610&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=256610&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=256610&amp;action=review</a>
&gt; 
&gt; &gt;&gt; Source/WebKit2/UIProcess/API/C/WKPage.cpp:2192
&gt; &gt;&gt; +void WKPageHandleStartOfInterruptionEvent(WKPageRef page, WKMediaSessionInterruptingCategory wkCategory)
&gt; &gt; 
&gt; &gt; 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.
&gt; 
&gt; Or rather, if you do that then you can use a static_cast to convert values.</span >

Added the static assertions.</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>