Index: runtime/bin/stream_util.dart |
diff --git a/runtime/bin/stream_util.dart b/runtime/bin/stream_util.dart |
index c6d62b6538b9764f07d090812769e1f102bff8e3..3433bde5384e3633cee8f91e1d26fbec8767e6a6 100644 |
--- a/runtime/bin/stream_util.dart |
+++ b/runtime/bin/stream_util.dart |
@@ -27,7 +27,7 @@ class _BaseDataInputStream { |
if (len === null) len = buffer.length; |
if (offset < 0) throw new StreamException("Illegal offset $offset"); |
if (len < 0) throw new StreamException("Illegal length $len"); |
- int bytesToRead = Math.min(len, available()); |
+ int bytesToRead = min(len, available()); |
return _readInto(buffer, offset, bytesToRead); |
} |