summaryrefslogtreecommitdiffstats
path: root/content/renderer/p2p/port_allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/p2p/port_allocator.cc')
-rw-r--r--content/renderer/p2p/port_allocator.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc
index f81fe27..f1f68c0 100644
--- a/content/renderer/p2p/port_allocator.cc
+++ b/content/renderer/p2p/port_allocator.cc
@@ -141,7 +141,8 @@ void P2PPortAllocatorSession::didFail(WebKit::WebURLLoader* loader,
void P2PPortAllocatorSession::GetPortConfigurations() {
// Add an empty configuration synchronously, so a local connection
// can be started immediately.
- ConfigReady(new cricket::PortConfiguration(talk_base::SocketAddress()));
+ ConfigReady(new cricket::PortConfiguration(talk_base::SocketAddress(),
+ "", ""));
if (stun_server_address_.IsNil()) {
ResolveStunServerAddress();
@@ -290,7 +291,7 @@ void P2PPortAllocatorSession::ParseRelayResponse() {
void P2PPortAllocatorSession::AddConfig() {
cricket::PortConfiguration* config =
- new cricket::PortConfiguration(stun_server_address_);
+ new cricket::PortConfiguration(stun_server_address_, "", "");
if (relay_ip_.ip() != 0) {
cricket::PortConfiguration::PortList ports;