Chromium Code Reviews| Index: runtime/lib/byte_array.dart |
| diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
| index 708e291d27f408bf8f0d6907ea0a893422e985db..0546ac6bf624424121fdc6e84b9a1879c84ad491 100644 |
| --- a/runtime/lib/byte_array.dart |
| +++ b/runtime/lib/byte_array.dart |
| @@ -1488,12 +1488,12 @@ class _ByteArrayIterator<E> implements Iterator<E> { |
| assert(array is _ByteArrayBase || array is _ByteArrayViewBase); |
| } |
| - bool hasNext() { |
| + bool get hasNext { |
| return _length > _pos; |
| } |
| E next() { |
| - if (!hasNext()) { |
| + if (!hasNext) { |
| throw const NoMoreElementsException(); |
| } |
| return _array[_pos++]; |