Index: webrtc/p2p/client/basicportallocator.cc |
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
index 806adcea6a5989c7eab09a3dcdb47d96f18905d7..982025279d7322102add345e7c897145599233bb 100644 |
--- a/webrtc/p2p/client/basicportallocator.cc |
+++ b/webrtc/p2p/client/basicportallocator.cc |
@@ -692,14 +692,6 @@ AllocationSequence::AllocationSequence(BasicPortAllocatorSession* session, |
} |
bool AllocationSequence::Init() { |
- if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET) && |
- !IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_UFRAG)) { |
- LOG(LS_ERROR) << "Shared socket option can't be set without " |
- << "shared ufrag."; |
- ASSERT(false); |
- return false; |
- } |
- |
if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET)) { |
udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( |
rtc::SocketAddress(ip_, 0), session_->allocator()->min_port(), |