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

Unified Diff: lib/coreimpl/string_buffer.dart

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: lib/coreimpl/string_buffer.dart
diff --git a/lib/coreimpl/string_buffer.dart b/lib/coreimpl/string_buffer.dart
index ceb59350d3a43136d3f5eb0ccb9b0f84a25e7b22..14c1fda6b47fc2f45931bd413852200d52b085eb 100644
--- a/lib/coreimpl/string_buffer.dart
+++ b/lib/coreimpl/string_buffer.dart
@@ -73,7 +73,7 @@ class StringBufferImpl implements StringBuffer {
String toString() {
if (_buffer.length === 0) return "";
if (_buffer.length === 1) return _buffer[0];
- String result = StringImplementation.concatAll(_buffer);
+ String result = Strings.concatAll(_buffer);
_buffer.clear();
_buffer.add(result);
// Since we track the length at each add operation, there is no

Powered by Google App Engine
This is Rietveld 408576698