<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WebRTC: Update RTCPeerConnection.addTrack() to create (or reuse) an RTCRtpTransceiver"
href="https://bugs.webkit.org/show_bug.cgi?id=158191#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebRTC: Update RTCPeerConnection.addTrack() to create (or reuse) an RTCRtpTransceiver"
href="https://bugs.webkit.org/show_bug.cgi?id=158191">bug 158191</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>Comment on <span class=""><a href="attachment.cgi?id=280254&action=diff" name="attach_280254" title="Proposed patch">attachment 280254</a> <a href="attachment.cgi?id=280254&action=edit" title="Proposed patch">[details]</a></span>
Proposed patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=280254&action=review">https://bugs.webkit.org/attachment.cgi?id=280254&action=review</a>
<span class="quote">> Source/WebCore/Modules/mediastream/RTCPeerConnection.h:67
> + Vector<RefPtr<RTCRtpSender>> getSenders() const override { return m_transceiverSet->getSenders(); }
> + Vector<RefPtr<RTCRtpReceiver>> getReceivers() const { return m_transceiverSet->getReceivers(); }</span >
Can these return a reference to a const Vector: "const Vector<RefPtr<...>>&"?
<span class="quote">> Source/WebCore/Modules/mediastream/RTCPeerConnection.h:68
> + const Vector<RefPtr<RTCRtpTransceiver>>& getTransceivers() const override { return m_transceiverSet->list(); }</span >
Can this be final instead of override?</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>