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

Unified Diff: samples/swarm/swarm_ui_lib/view/SliderMenu.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: samples/swarm/swarm_ui_lib/view/SliderMenu.dart
diff --git a/samples/swarm/swarm_ui_lib/view/SliderMenu.dart b/samples/swarm/swarm_ui_lib/view/SliderMenu.dart
index 3eae27ed91bb466f1f9ea2a555ad3c91665cf106..577b84716b3d762395a02b58c3e3e3db1ae7d135 100644
--- a/samples/swarm/swarm_ui_lib/view/SliderMenu.dart
+++ b/samples/swarm/swarm_ui_lib/view/SliderMenu.dart
@@ -36,7 +36,7 @@ class SliderMenu extends View {
// Create a div for each menu item.
final items = new StringBuffer();
for (final item in _menuItems) {
- items.add('<div class="sm-item">$item</div>');
+ items.write('<div class="sm-item">$item</div>');
}
// Create a root node to hold this view.

Powered by Google App Engine
This is Rietveld 408576698