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

Unified Diff: tools/testing/dart/record_and_replay.dart

Issue 48133002: Remove deprecated dart:utf library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged to head. Created 7 years, 2 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
« no previous file with comments | « tests/lib/utf/utf_test.dart ('k') | tools/testing/dart/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/record_and_replay.dart
diff --git a/tools/testing/dart/record_and_replay.dart b/tools/testing/dart/record_and_replay.dart
index f9b728f8098ba1e7f6da5a5c83070697f8a61830..90af7814e7b9016ad75cfded3c57a661a1d5b685 100644
--- a/tools/testing/dart/record_and_replay.dart
+++ b/tools/testing/dart/record_and_replay.dart
@@ -6,7 +6,7 @@ library record_and_replay;
import 'dart:io';
import 'dart:convert';
-import 'dart:utf';
+import 'dart:convert';
import 'test_runner.dart';
import 'utils.dart' show Path;
@@ -123,8 +123,8 @@ class TestCaseOutputArchive {
command,
command_output['exit_code'],
command_output['did_timeout'],
- encodeUtf8(command_output['stdout']),
- encodeUtf8(command_output['stderr']),
+ UTF8.encode(command_output['stdout']),
+ UTF8.encode(command_output['stderr']),
duration,
false);
return commandOutput;
« no previous file with comments | « tests/lib/utf/utf_test.dart ('k') | tools/testing/dart/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698