Chromium Code Reviews| Index: runtime/lib/byte_array.dart |
| diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
| index e073271613c4bcc28061de85a3c93d1fbed54c1e..4395bf5a6acda1acc56f9f7df948c4ab30f3eb4c 100644 |
| --- a/runtime/lib/byte_array.dart |
| +++ b/runtime/lib/byte_array.dart |
| @@ -1494,7 +1494,7 @@ class _ByteArrayIterator<E> implements Iterator<E> { |
| E next() { |
| if (!hasNext) { |
| - throw const NoMoreElementsException(); |
| + throw new StateError("No more elements"); |
| } |
| return _array[_pos++]; |
| } |