Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: utils/testrunner/pipeline_utils.dart

Issue 22872012: Remove Encoding-enum from dart:io and add interface in dart:convert. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/testrunner/pipeline_utils.dart
diff --git a/utils/testrunner/pipeline_utils.dart b/utils/testrunner/pipeline_utils.dart
index 72c0164fec5c4f5d4ba2201b87891f7e44f5f28c..38ed392286fa897e5ee0f4c4c07c57929ca23f3f 100644
--- a/utils/testrunner/pipeline_utils.dart
+++ b/utils/testrunner/pipeline_utils.dart
@@ -101,7 +101,7 @@ Future _processHelper(String command, List<String> args,
Future _pipeStream(Stream stream, List<String> destination,
Function outputMonitor) {
return stream
- .transform(new StringDecoder())
+ .transform(UTF8.decoder)
.transform(new LineTransformer())
.listen((String line) {
if (config["immediate"] && line.startsWith('###')) {
« no previous file with comments | « utils/testrunner/layout_test_controller.dart ('k') | utils/tests/testrunner/http_client_tests/http_client_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698