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

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

Issue 2374183005: Emit SignalReadyToSend even for "presumed writable" connections. (Closed)
Patch Set: Created 4 years, 3 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/port.cc
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
index 2f487dc179526cf8bf498a3f2c394b66972fd706..8742d0f9e2c15136b22340ffe53dde7c2fb1b5af 100644
--- a/webrtc/p2p/base/port.cc
+++ b/webrtc/p2p/base/port.cc
@@ -1106,9 +1106,7 @@ void Connection::HandleBindingRequest(IceMessage* msg) {
}
void Connection::OnReadyToSend() {
- if (write_state_ == STATE_WRITABLE) {
- SignalReadyToSend(this);
- }
+ SignalReadyToSend(this);
}
void Connection::Prune() {

Powered by Google App Engine
This is Rietveld 408576698