Chromium Code Reviews| Index: runtime/bin/socket_stream.dart |
| =================================================================== |
| --- runtime/bin/socket_stream.dart (revision 891) |
| +++ runtime/bin/socket_stream.dart (working copy) |
| @@ -10,7 +10,7 @@ |
| List<int> read([int len]) { |
| int bytesToRead = available(); |
| if (bytesToRead == 0) return null; |
| - if (len != null) { |
| + if (len !== null) { |
| if (len <= 0) { |
| throw new StreamException("Illegal length $len"); |
| } else if (bytesToRead > len) { |