Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm

Issue 2794193002: [iOS] Changed ptr to const ref for RTCConfiguration initialization (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
index 7c8eb4d54b975568298bb15ecae8d373ea0bf2d6..311e0dd886e49a37d33ea0d3dbfe30e93868600e 100644
--- a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
+++ b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
@@ -291,7 +291,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidatesRemoved(
- (RTCConfiguration *)configuration {
webrtc::PeerConnectionInterface::RTCConfiguration config =
_peerConnection->GetConfiguration();
- return [[RTCConfiguration alloc] initWithNativeConfiguration:&config];
+ return [[RTCConfiguration alloc] initWithNativeConfiguration:config];
}
- (void)close {

Powered by Google App Engine
This is Rietveld 408576698