Index: sdk/lib/io/file_impl.dart |
diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart |
index f621360746aa2dc845a288b0c6c6269447345fcf..1dd2b476fbf06936ba716b4b36f58ca514d4d451 100644 |
--- a/sdk/lib/io/file_impl.dart |
+++ b/sdk/lib/io/file_impl.dart |
@@ -521,7 +521,7 @@ class _File implements File { |
var controller = new StreamController(sync: true); |
controller.stream |
.transform(new StringDecoder(encoding)) |
- .transform(new LineTransformer()) |
+ .transform(new LineSplitter()) |
.listen((line) => list.add(line)); |
controller.add(bytes); |
controller.close(); |