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

Unified Diff: webrtc/base/natsocketfactory.cc

Issue 2883313003: Remove VirtualSocketServer's dependency on PhysicalSocketServer. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « webrtc/base/nat_unittest.cc ('k') | webrtc/base/proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/natsocketfactory.cc
diff --git a/webrtc/base/natsocketfactory.cc b/webrtc/base/natsocketfactory.cc
index 67172fb50db451fd2af0d903714dbce3fd3488e1..d240527e4348fe2f74660de82d09375e96fb8c3c 100644
--- a/webrtc/base/natsocketfactory.cc
+++ b/webrtc/base/natsocketfactory.cc
@@ -414,7 +414,7 @@ NATSocketServer::Translator::Translator(
// Create a new private network, and a NATServer running on the private
// network that bridges to the external network. Also tell the private
// network to use the same message queue as us.
- VirtualSocketServer* internal_server = new VirtualSocketServer(server_);
+ VirtualSocketServer* internal_server = new VirtualSocketServer();
internal_server->SetMessageQueue(server_->queue());
internal_factory_.reset(internal_server);
nat_server_.reset(new NATServer(type, internal_server, int_ip, int_ip,
« no previous file with comments | « webrtc/base/nat_unittest.cc ('k') | webrtc/base/proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698