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

Unified Diff: content/renderer/p2p/ipc_socket_factory.cc

Issue 10411039: Fixing the socket state update issue in IpcPacketSocket (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/ipc_socket_factory.cc
===================================================================
--- content/renderer/p2p/ipc_socket_factory.cc (revision 137969)
+++ content/renderer/p2p/ipc_socket_factory.cc (working copy)
@@ -263,10 +263,12 @@
OnError();
return;
}
+
+ state_ = IS_OPEN;
+
SignalAddressReady(this, local_address_);
if (type_ == P2P_SOCKET_TCP_CLIENT)
SignalConnect(this);
- state_ = IS_OPEN;
}
void IpcPacketSocket::OnIncomingTcpConnection(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698