| Index: sdk/lib/convert/latin1.dart
|
| diff --git a/sdk/lib/convert/latin1.dart b/sdk/lib/convert/latin1.dart
|
| index a33598b73416a7c37b1e8968fc36273a13cd944c..dd9c65f0e3859734fb06783112078322339c7f83 100644
|
| --- a/sdk/lib/convert/latin1.dart
|
| +++ b/sdk/lib/convert/latin1.dart
|
| @@ -127,11 +127,7 @@ class _Latin1DecoderSink extends ByteConversionSinkBase {
|
| // _sink.addSlice(source, start, end, isLast).
|
| // The code below is an moderately stupid workaround until a real
|
| // solution can be made.
|
| - if (start == 0 && end == source.length) {
|
| - _sink.add(new String.fromCharCodes(source));
|
| - } else {
|
| - _sink.add(new String.fromCharCodes(source.sublist(start, end)));
|
| - }
|
| + _sink.add(new String.fromCharCodes(source, start, end));
|
| if (isLast) close();
|
| }
|
|
|
|
|