<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: give media elements unique IDs"
href="https://bugs.webkit.org/show_bug.cgi?id=147322#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Media Session: give media elements unique IDs"
href="https://bugs.webkit.org/show_bug.cgi?id=147322">bug 147322</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=147322#c3">comment #3</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=257565&action=diff" name="attach_257565" title="Patch">attachment 257565</a> <a href="attachment.cgi?id=257565&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=257565&action=review">https://bugs.webkit.org/attachment.cgi?id=257565&action=review</a>
>
> As we discussed offline, please file a bug about consolidating this with the
> MediaPlaybackTargetClient map.</span >
Filed: <a class="bz_bug_link
bz_status_NEW "
title="NEW - Consolidate logic for tracking media elements and media playback target clients by ID"
href="show_bug.cgi?id=147522">https://bugs.webkit.org/show_bug.cgi?id=147522</a>
<span class="quote">>
> > Source/WebCore/html/HTMLMediaElement.cpp:435
> > + static uint64_t elementID = 0;
> > + m_elementID = ++elementID;
>
> Nit: we usually put something like this in a static function, eg. uint64_t
> nextPlaybackTargetClientContextId() in Document.cpp.</span >
Added.</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>