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

Unified Diff: mojo/system/channel.cc

Issue 517373002: Mojo: Remove the STATE_WAIT_LOCAL_DETACH_AND_REMOTE_REMOVE_ACK endpoint state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « mojo/system/channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 8d5470d6cc41437db4df5dc46b9d70f6e42d7552..29bb38f404882bcee47045b676ec32323ab882c6 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -258,9 +258,6 @@ void Channel::DetachMessagePipeEndpoint(
case EndpointInfo::STATE_WAIT_REMOTE_REMOVE_ACK:
NOTREACHED();
break;
- case EndpointInfo::STATE_WAIT_LOCAL_DETACH_AND_REMOTE_REMOVE_ACK:
- it->second.state = EndpointInfo::STATE_WAIT_REMOTE_REMOVE_ACK;
- break;
}
}
if (!should_send_remove_message)
« no previous file with comments | « mojo/system/channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698