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

Unified Diff: runtime/bin/socket_patch.dart

Issue 17589021: Fix checked mode error in previous commit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index be1dc4661034774cb9bc965fa5daaecd002db6bf..cc0a6e339abb1f6fe8eda9a31b5735c0a25718c2 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -775,7 +775,7 @@ class _RawSocket extends Stream<RawSocketEvent>
var result = new _RawSocket(native);
result._isMacOSTerminalInput =
Platform.isMacOS &&
- _StdIOUtils._socketType(result) == _STDIO_HANDLE_TYPE_TERMINAL;
+ _StdIOUtils._socketType(result._socket) == _STDIO_HANDLE_TYPE_TERMINAL;
return result;
}
« 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