Index: runtime/lib/growable_array.dart |
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
index 9e942e4c5fc112a08194f5667345a3faf1456fd6..d35c1c44f096ea8043fcbcd76c0e517fdd373690 100644 |
--- a/runtime/lib/growable_array.dart |
+++ b/runtime/lib/growable_array.dart |
@@ -174,7 +174,7 @@ class _GrowableList<T> extends ListBase<T> { |
(cid == ClassID.cidArray) || |
(cid == ClassID.cidGrowableObjectArray) || |
(cid == ClassID.cidImmutableArray); |
- if (isVMList || (iterable is EfficientLength)) { |
+ if (isVMList || (iterable is EfficientLengthIterable)) { |
var cap = _capacity; |
// Pregrow if we know iterable.length. |
var iterLen = iterable.length; |