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

Unified Diff: utils/css/parser.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/css/parser.dart
diff --git a/utils/css/parser.dart b/utils/css/parser.dart
index d799e4338eca620693c0afc4b7df964ab8d305de..a865bdf2760b62390c041d0bfa8b4ff4cad85e23 100644
--- a/utils/css/parser.dart
+++ b/utils/css/parser.dart
@@ -924,7 +924,7 @@ class Parser {
int runningStart = _peekToken.start;
while (_peek() != stopToken && _peek() != TokenKind.END_OF_FILE) {
var tok = _next();
- stringValue.add(tok.text);
+ stringValue.write(tok.text);
}
if (stopToken != TokenKind.RPAREN) {

Powered by Google App Engine
This is Rietveld 408576698