<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Add basic Media Session support to HTMLMediaElement"
   href="https://bugs.webkit.org/show_bug.cgi?id=145581#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Add basic Media Session support to HTMLMediaElement"
   href="https://bugs.webkit.org/show_bug.cgi?id=145581">bug 145581</a>
              from <span class="vcard"><a class="email" href="mailto:eric.carlson&#64;apple.com" title="Eric Carlson &lt;eric.carlson&#64;apple.com&gt;"> <span class="fn">Eric Carlson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=145581#c20">comment #20</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=254216&amp;action=diff" name="attach_254216" title="Patch">attachment 254216</a> <a href="attachment.cgi?id=254216&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=254216&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=254216&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebCore/Modules/mediasession/HTMLMediaElementMediaSession.cpp:49
&gt; &gt; +    isNull = !session;
&gt; 
&gt; Why is this necessary, when the client can simply check the returned
&gt; variable?</span >

That is the way our binding generator handles nullable types [1].

[1] <a href="http://www.w3.org/TR/WebIDL/#idl-nullable-type">http://www.w3.org/TR/WebIDL/#idl-nullable-type</a></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>