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

Unified Diff: samples/markdown/markdown.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/markdown/markdown.dart
diff --git a/samples/markdown/markdown.dart b/samples/markdown/markdown.dart
index 6eff567681e4fce58d0682bb40f470596588e57c..71139c2475fd768328448810d0706383a5c0ee81 100644
--- a/samples/markdown/markdown.dart
+++ b/samples/markdown/markdown.dart
@@ -42,6 +42,6 @@ String readFile(String path) {
void writeFile(String path, String text) {
final file = new File(path);
final stream = file.openOutputStream();
- stream.write(text.charCodes);
+ stream.write(text.codeUnits);
stream.close();
}
« no previous file with comments | « samples/logo/logo.dart ('k') | samples/swarm/Decoder.dart » ('j') | sdk/lib/core/string.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698