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

Unified Diff: lib/uri/uri.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/uri/encode_decode.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/uri/uri.dart
diff --git a/lib/uri/uri.dart b/lib/uri/uri.dart
index c05363827c9de9255f5c249067930e9082ae0446..53c3da14ca1189c1c9e34774801ba8bbc46424d6 100644
--- a/lib/uri/uri.dart
+++ b/lib/uri/uri.dart
@@ -4,6 +4,7 @@
#library('dart:uri');
+#import('dart:math');
#import('dart:utf');
#source('encode_decode.dart');
@@ -45,7 +46,7 @@ class Uri {
static int _parseIntOrZero(String val) {
if (val !== null && val != '') {
- return Math.parseInt(val);
+ return parseInt(val);
} else {
return 0;
}
« no previous file with comments | « lib/uri/encode_decode.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698