Index: sdk/lib/convert/utf.dart |
diff --git a/sdk/lib/convert/utf.dart b/sdk/lib/convert/utf.dart |
index 2f513b05ccc8fcabf11e53e2f22177a4fe4883ce..819013913540a3e403d1cfee98bb9c78ec03419c 100644 |
--- a/sdk/lib/convert/utf.dart |
+++ b/sdk/lib/convert/utf.dart |
@@ -107,8 +107,7 @@ class Utf8Encoder extends Converter<String, List<int>> { |
* The converter works more efficiently if the given [sink] is a |
* [ByteConversionSink]. |
*/ |
- StringConversionSink startChunkedConversion( |
- ChunkedConversionSink<List<int>> sink) { |
+ StringConversionSink startChunkedConversion(Sink<List<int>> sink) { |
if (sink is! ByteConversionSink) { |
sink = new ByteConversionSink.from(sink); |
} |
@@ -332,8 +331,7 @@ class Utf8Decoder extends Converter<List<int>, String> { |
* The converter works more efficiently if the given [sink] is a |
* [StringConversionSink]. |
*/ |
- ByteConversionSink startChunkedConversion( |
- ChunkedConversionSink<String> sink) { |
+ ByteConversionSink startChunkedConversion(Sink<String> sink) { |
StringConversionSink stringSink; |
if (sink is StringConversionSink) { |
stringSink = sink; |