Index: webrtc/p2p/client/basicportallocator.cc |
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
index b7092d43b7e404b0687815dda876391068992205..0e8dc47bd4bca3114e40012bf26c7099e7994cb4 100644 |
--- a/webrtc/p2p/client/basicportallocator.cc |
+++ b/webrtc/p2p/client/basicportallocator.cc |
@@ -455,7 +455,7 @@ void BasicPortAllocatorSession::OnMessage(rtc::Message *message) { |
OnConfigStop(); |
break; |
default: |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
} |
@@ -975,7 +975,7 @@ void BasicPortAllocatorSession::OnPortDestroyed( |
return; |
} |
} |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
BasicPortAllocatorSession::PortData* BasicPortAllocatorSession::FindPort( |
@@ -1156,7 +1156,7 @@ void AllocationSequence::OnMessage(rtc::Message* msg) { |
break; |
default: |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
if (state() == kRunning) { |
@@ -1305,7 +1305,7 @@ void AllocationSequence::CreateRelayPorts() { |
} else if (relay.type == RELAY_TURN) { |
CreateTurnPort(relay); |
} else { |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
} |
} |
@@ -1448,7 +1448,7 @@ void AllocationSequence::OnPortDestroyed(PortInterface* port) { |
turn_ports_.erase(it); |
} else { |
LOG(LS_ERROR) << "Unexpected OnPortDestroyed for nonexistent port."; |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
} |
} |