<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: notify the UI process when media controls are enabled/disabled"
href="https://bugs.webkit.org/show_bug.cgi?id=147802#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Media Session: notify the UI process when media controls are enabled/disabled"
href="https://bugs.webkit.org/show_bug.cgi?id=147802">bug 147802</a>
from <span class="vcard"><a class="email" href="mailto:mrajca@apple.com" title="Matt Rajca <mrajca@apple.com>"> <span class="fn">Matt Rajca</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=147802#c2">comment #2</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=258550&action=diff" name="attach_258550" title="Patch">attachment 258550</a> <a href="attachment.cgi?id=258550&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=258550&action=review">https://bugs.webkit.org/attachment.cgi?id=258550&action=review</a>
>
> > Source/WebCore/Modules/mediasession/MediaRemoteControls.h:56
> > - MediaRemoteControls(ScriptExecutionContext&);
> > + MediaRemoteControls(ScriptExecutionContext&, MediaSession*);
>
> Why is this constructor public instead of private?</span >
When Media Sessions of a "content" category kind are created, they get a new MediaRemoteControls object by default. MediaRemoteControls' constructor is public so we can call it from MediaSession.</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>