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

Unified Diff: webrtc/p2p/base/basicpacketsocketfactory.cc

Issue 1556743002: Bind a socket to a network if the network handle is set. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix a compiling issue for Windows Created 4 years, 11 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/p2p/base/basicpacketsocketfactory.cc
diff --git a/webrtc/p2p/base/basicpacketsocketfactory.cc b/webrtc/p2p/base/basicpacketsocketfactory.cc
index 697518da9d0508cfcec888306b133514307726c7..a6aa3105b98fe8b0185feeb0c7864441b2fa52cc 100644
--- a/webrtc/p2p/base/basicpacketsocketfactory.cc
+++ b/webrtc/p2p/base/basicpacketsocketfactory.cc
@@ -27,11 +27,13 @@ namespace rtc {
BasicPacketSocketFactory::BasicPacketSocketFactory()
: thread_(Thread::Current()),
socket_factory_(NULL) {
+ thread_->socketserver()->MaybeSetNetworkBinder();
}
BasicPacketSocketFactory::BasicPacketSocketFactory(Thread* thread)
: thread_(thread),
socket_factory_(NULL) {
+ thread_->socketserver()->MaybeSetNetworkBinder();
}
BasicPacketSocketFactory::BasicPacketSocketFactory(
« webrtc/base/physicalsocketserver.cc ('K') | « webrtc/examples/androidapp/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698