Chromium Code Reviews| 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; |
| } |