<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 support for platform-specific interruption providers"
   href="https://bugs.webkit.org/show_bug.cgi?id=147008#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: add support for platform-specific interruption providers"
   href="https://bugs.webkit.org/show_bug.cgi?id=147008">bug 147008</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=147008#c5">comment #5</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=256916&amp;action=diff" name="attach_256916" title="Patch">attachment 256916</a> <a href="attachment.cgi?id=256916&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=256916&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=256916&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebCore/platform/audio/MediaSessionInterruptionProvider.h:57
&gt; &gt; +    // To be overriden by subclasses.
&gt; &gt; +    virtual void beginListeningForInterruptions();
&gt; &gt; +    virtual void stopListeningForInterruptions();
&gt; 
&gt; If these must be overridden, why not make the pure-virtual?</span >

These methods are called from the base class's constructor and destructor so they cannot be pure virtual.

<span class="quote">&gt; 
&gt; &gt; Source/WebCore/platform/audio/mac/MediaSessionInterruptionProviderMac.h:37
&gt; &gt; +    using MediaSessionInterruptionProvider::MediaSessionInterruptionProvider;
&gt; 
&gt; Is this necessary?</span >

Yes, constructors aren't inherited.</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>