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

Unified Diff: lib/uri/encode_decode.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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
« no previous file with comments | « lib/json/json.dart ('k') | lib/uri/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/uri/encode_decode.dart
diff --git a/lib/uri/encode_decode.dart b/lib/uri/encode_decode.dart
index 3ecd8b7a80a302ddb00a6c5f95222ae6c4f3e715..540b7e6fbd6f60cd0ebf8c7de95583eb00110787 100644
--- a/lib/uri/encode_decode.dart
+++ b/lib/uri/encode_decode.dart
@@ -110,8 +110,8 @@ int _hexCharPairToByte(String s, int pos) {
// An alternative to calling parseInt twice would be to take a
// two character substring and call it once, but that may be less
// efficient.
- int d1 = Math.parseInt("0x${s[pos]}");
- int d2 = Math.parseInt("0x${s[pos+1]}");
+ int d1 = parseInt("0x${s[pos]}");
+ int d2 = parseInt("0x${s[pos+1]}");
return d1 * 16 + d2;
}
« no previous file with comments | « lib/json/json.dart ('k') | lib/uri/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698