Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index cbb664b526973beb6bb7df7d1fc256b31a4e511d..9a60cb53c1db937581d86a57ddde3d1bc88d29e8 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -32,7 +32,6 @@ var GlobalString = global.String; |
var MakeError; |
var MakeRangeError; |
var MakeTypeError; |
-var MathFloor; |
var ObjectDefineProperties = utils.ImportNow("ObjectDefineProperties"); |
var ObjectDefineProperty = utils.ImportNow("ObjectDefineProperty"); |
var ObjectHasOwnProperty = utils.ImportNow("ObjectHasOwnProperty"); |
@@ -58,7 +57,6 @@ utils.Import(function(from) { |
MakeError = from.MakeError; |
MakeRangeError = from.MakeRangeError; |
MakeTypeError = from.MakeTypeError; |
- MathFloor = from.MathFloor; |
RegExpTest = from.RegExpTest; |
StringIndexOf = from.StringIndexOf; |
StringLastIndexOf = from.StringLastIndexOf; |
@@ -1102,7 +1100,7 @@ function getNumberOption(options, property, min, max, fallback) { |
if (IsNaN(value) || value < min || value > max) { |
throw MakeRangeError(kPropertyValueOutOfRange, property); |
} |
- return MathFloor(value); |
+ return %math_floor(value); |
} |
return fallback; |