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

Unified Diff: utils/testrunner/layout_test_controller.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/layout_test_controller.dart
diff --git a/utils/testrunner/layout_test_controller.dart b/utils/testrunner/layout_test_controller.dart
index 622e2109558bbfa8904d93f23a6221d794474696..b6c8ff766f3f5dd64e6863115ac7ec7a2d6e150b 100644
--- a/utils/testrunner/layout_test_controller.dart
+++ b/utils/testrunner/layout_test_controller.dart
@@ -242,7 +242,7 @@ runPixelLayoutTest(int testNum) {
if (idx < 0) break;
StringBuffer sb = new StringBuffer();
for (var i = pos; i < idx; i++) {
- sb.addCharCode(stdout[i]);
+ sb.writeCharCode(stdout[i]);
}
var line = sb.toString();

Powered by Google App Engine
This is Rietveld 408576698