Index: webrtc/p2p/client/basicportallocator.cc |
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
index 3f5aa0a1ff396cbb512d65166d46c54c598b70b9..05a90e185c1cc6b895984777d9a16492cd9dee74 100644 |
--- a/webrtc/p2p/client/basicportallocator.cc |
+++ b/webrtc/p2p/client/basicportallocator.cc |
@@ -669,14 +669,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(), |