<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@apple.com" title="Eric Carlson <eric.carlson@apple.com>"> <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">> Comment on <span class=""><a href="attachment.cgi?id=254216&action=diff" name="attach_254216" title="Patch">attachment 254216</a> <a href="attachment.cgi?id=254216&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=254216&action=review">https://bugs.webkit.org/attachment.cgi?id=254216&action=review</a>
>
> > Source/WebCore/Modules/mediasession/HTMLMediaElementMediaSession.cpp:49
> > + isNull = !session;
>
> Why is this necessary, when the client can simply check the returned
> 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>