Index: runtime/bin/http_utils.dart |
diff --git a/runtime/bin/http_utils.dart b/runtime/bin/http_utils.dart |
index dd1213a9538c9c00c40c0db64d7236bb0435d187..4f37f02ee7b0e7fbedbd3097ded78e4d80991085 100644 |
--- a/runtime/bin/http_utils.dart |
+++ b/runtime/bin/http_utils.dart |
@@ -210,7 +210,7 @@ class _HttpUtils { |
String tmp = date.substring(index, pos); |
index = pos + separator.length; |
try { |
- int value = Math.parseInt(tmp); |
+ int value = parseInt(tmp); |
return value; |
} catch (FormatException e) { |
throw new HttpException("Invalid HTTP date $date"); |