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

Unified Diff: runtime/bin/socket_impl.dart

Issue 9065006: Fix checked mode failure (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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: runtime/bin/socket_impl.dart
diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart
index 07a741f82fae26c97a443661a365b4f82d07b4ec..b462dadc11f98a23eb191ccef6c8a9c640422344 100644
--- a/runtime/bin/socket_impl.dart
+++ b/runtime/bin/socket_impl.dart
@@ -390,7 +390,7 @@ class _Socket extends _SocketBase implements Socket {
InputStream get inputStream() {
if (_inputStream === null) {
if (_handlerMap[_IN_EVENT] !== null ||
- _handlerMap[_CLOSE_EVENT]) {
+ _handlerMap[_CLOSE_EVENT] !== null) {
throw new StreamException(
"Cannot get input stream when socket handlers are used");
}
« 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