RESOLVED FIXED 164665
RTCRtpTransceiver should have Ref of sender and receiver
https://bugs.webkit.org/show_bug.cgi?id=164665
Summary RTCRtpTransceiver should have Ref of sender and receiver
youenn fablet
Reported 2016-11-11 17:01:17 PST
Currently it has RefPtr
Attachments
Patch (17.89 KB, patch)
2016-11-11 18:33 PST, youenn fablet
no flags
Archive of layout-test-results from ews106 for mac-yosemite-wk2 (1.84 MB, application/zip)
2016-11-11 19:43 PST, Build Bot
no flags
Patch (17.99 KB, patch)
2016-11-12 09:51 PST, youenn fablet
no flags
youenn fablet
Comment 1 2016-11-11 18:33:49 PST
Build Bot
Comment 2 2016-11-11 19:43:36 PST
Comment on attachment 294577 [details] Patch Attachment 294577 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2501212 New failing tests: fast/mediastream/RTCPeerConnection-AddRemoveStream.html fast/mediastream/RTCPeerConnection-onnegotiationneeded.html fast/mediastream/RTCRtpSender-replaceTrack.html
Build Bot
Comment 3 2016-11-11 19:43:38 PST
Created attachment 294583 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
youenn fablet
Comment 4 2016-11-12 09:51:25 PST
Darin Adler
Comment 5 2016-11-12 21:17:48 PST
Comment on attachment 294617 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=294617&action=review > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:152 > + for (RTCRtpSender& senderInSet : m_transceiverSet->senders()) { I prefer auto& in a case like this. > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:397 > + for (RTCRtpSender& sender : m_transceiverSet->senders()) Ditto.
youenn fablet
Comment 6 2016-11-13 09:49:02 PST
Thanks for the review. (In reply to comment #5) > Comment on attachment 294617 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=294617&action=review > > > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:152 > > + for (RTCRtpSender& senderInSet : m_transceiverSet->senders()) { > > I prefer auto& in a case like this. > > > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:397 > > + for (RTCRtpSender& sender : m_transceiverSet->senders()) > > Ditto. I tried but it does not work unfortunately, senders are a vector of reference wrappers.
WebKit Commit Bot
Comment 7 2016-11-14 07:49:14 PST
Comment on attachment 294617 [details] Patch Clearing flags on attachment: 294617 Committed r208683: <http://trac.webkit.org/changeset/208683>
WebKit Commit Bot
Comment 8 2016-11-14 07:49:18 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.