Index: sdk/lib/utf/utf_stream.dart |
diff --git a/sdk/lib/utf/utf_stream.dart b/sdk/lib/utf/utf_stream.dart |
index d9149d61fa2775b8a1883bdf982f84a768ff7e81..a1f2c6722104c14f8ab8b58814dfa9b6a767a56d 100644 |
--- a/sdk/lib/utf/utf_stream.dart |
+++ b/sdk/lib/utf/utf_stream.dart |
@@ -43,7 +43,7 @@ abstract class _StringDecoder implements StreamTransformer<List<int>, String> { |
onDone: () { |
if (_carry != null) { |
_controller.add(new String.fromCharCodes( |
- new List.fixedLength(_carry.length, fill: _replacementChar))); |
+ new List.filled(_carry.length, _replacementChar))); |
} |
_controller.close(); |
}, |