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

Unified Diff: utils/template/tool.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/template/tool.dart
diff --git a/utils/template/tool.dart b/utils/template/tool.dart
index 97e1ac6e5617f3cc549cb6ed6e27fca846e9d602..59a8462f9826219b86d3598f5d0c5cb4ffa9ea9d 100644
--- a/utils/template/tool.dart
+++ b/utils/template/tool.dart
@@ -93,7 +93,7 @@ void main() {
if (world.errors == 0) {
// Generate the Dart class(es) for all template(s).
codegenElapsed = time(() {
- code.add(Codegen.generate(templates, outFilename));
+ code.write(Codegen.generate(templates, outFilename));
});
}

Powered by Google App Engine
This is Rietveld 408576698