Index: sdk/lib/crypto/hash_utils.dart |
diff --git a/sdk/lib/crypto/hash_utils.dart b/sdk/lib/crypto/hash_utils.dart |
index d0b13cf43f161c992584610c047418119deeac70..4188c5248d30d8df2d193d987f28534245499c33 100644 |
--- a/sdk/lib/crypto/hash_utils.dart |
+++ b/sdk/lib/crypto/hash_utils.dart |
@@ -116,8 +116,7 @@ abstract class _HashBase implements Hash { |
_bytesToChunk(_pendingData, index); |
_updateHash(_currentChunk); |
} |
- var remaining = len - index; |
- _pendingData = _pendingData.getRange(index, remaining); |
+ _pendingData = _pendingData.sublist(index, len); |
} |
} |