Chromium Code Reviews| Index: content/renderer/media/webrtc/peer_connection_dependency_factory.cc |
| diff --git a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc |
| index 92ea66bde071e455d0af997e4f958a7df71f3425..ed05bb9b3ccca5100f2fa7fb69657bdf55e2482a 100644 |
| --- a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc |
| +++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc |
| @@ -375,7 +375,7 @@ bool PeerConnectionDependencyFactory::PeerConnectionFactoryCreated() { |
| scoped_refptr<webrtc::PeerConnectionInterface> |
| PeerConnectionDependencyFactory::CreatePeerConnection( |
| - const webrtc::PeerConnectionInterface::IceServers& ice_servers, |
| + const webrtc::PeerConnectionInterface::RTCConfiguration& config, |
|
vrk (LEFT CHROMIUM)
2014/07/23 01:13:05
Is the old PeerConnection constructor still suppor
jiayl
2014/07/23 16:11:12
No, RTCConfiguration contains IceServers, there is
|
| const webrtc::MediaConstraintsInterface* constraints, |
| blink::WebFrame* web_frame, |
| webrtc::PeerConnectionObserver* observer) { |
| @@ -395,11 +395,11 @@ PeerConnectionDependencyFactory::CreatePeerConnection( |
| new PeerConnectionIdentityService( |
| GURL(web_frame->document().url().spec()).GetOrigin()); |
| - return GetPcFactory()->CreatePeerConnection(ice_servers, |
| - constraints, |
| - pa_factory.get(), |
| - identity_service, |
| - observer).get(); |
| + return GetPcFactory()->CreatePeerConnection(config, |
| + constraints, |
| + pa_factory.get(), |
| + identity_service, |
| + observer).get(); |
| } |
| scoped_refptr<webrtc::MediaStreamInterface> |