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

Unified Diff: samples/logo/logo.dart

Issue 11263040: Make String.charCodes a getter. (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: samples/logo/logo.dart
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart
index 95a6c1d24d2ee4a89c8cc96208b8d31051f6d598..6413b94f32802b7fb5a323e77418189305777322 100644
--- a/samples/logo/logo.dart
+++ b/samples/logo/logo.dart
@@ -52,7 +52,7 @@ class Color {
// This should be in the core library. Issue #233
static int _parseHex(String hex) {
- final codes = hex.charCodes();
+ final codes = hex.charCodes;
var number = 0;
for (var i = 0; i < codes.length; i++) {
final code = codes[i];

Powered by Google App Engine
This is Rietveld 408576698