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

Unified Diff: sdk/lib/_internal/compiler/implementation/constants.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: sdk/lib/_internal/compiler/implementation/constants.dart
diff --git a/sdk/lib/_internal/compiler/implementation/constants.dart b/sdk/lib/_internal/compiler/implementation/constants.dart
index b9388df303c7349a2c1c856afc5dc382a2dfb212..eae62eadb32ddf5ac981f8b937b4ec693f5e7a6d 100644
--- a/sdk/lib/_internal/compiler/implementation/constants.dart
+++ b/sdk/lib/_internal/compiler/implementation/constants.dart
@@ -128,7 +128,7 @@ class NullConstant extends PrimitiveConstant {
}
void _writeJsCode(CodeBuffer buffer, ConstantHandler handler) {
- buffer.add(JsNull);
+ buffer.write(JsNull);
}
// The magic constant has no meaning. It is just a random value.

Powered by Google App Engine
This is Rietveld 408576698