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

Unified Diff: utils/css/parser.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: utils/css/parser.dart
diff --git a/utils/css/parser.dart b/utils/css/parser.dart
index 4e0c1876147293935ab37154920ec90c451c7c2d..d799e4338eca620693c0afc4b7df964ab8d305de 100644
--- a/utils/css/parser.dart
+++ b/utils/css/parser.dart
@@ -999,7 +999,7 @@ class Parser {
var result = 0;
for (int i = 0; i < hex.length; i++) {
- var digit = _hexDigit(hex.charCodeAt(i));
+ var digit = _hexDigit(hex.codeUnitAt(i));
if (digit < 0) {
throw new HexNumberException();
}

Powered by Google App Engine
This is Rietveld 408576698