Index: src/runtime/runtime-i18n.cc |
diff --git a/src/runtime/runtime-i18n.cc b/src/runtime/runtime-i18n.cc |
index 8eefca98c8b907aef3624c60188636679ee65193..8b0c98f1614b47c55791246b91e5ed0ed9de177c 100644 |
--- a/src/runtime/runtime-i18n.cc |
+++ b/src/runtime/runtime-i18n.cc |
@@ -352,8 +352,7 @@ RUNTIME_FUNCTION(Runtime_InternalDateFormat) { |
CONVERT_ARG_HANDLE_CHECKED(JSDate, date, 1); |
Handle<Object> value; |
- ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, |
- Object::ToNumber(isolate, date)); |
+ ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, Object::ToNumber(date)); |
icu::SimpleDateFormat* date_format = |
DateFormat::UnpackDateFormat(isolate, date_format_holder); |
@@ -446,8 +445,7 @@ RUNTIME_FUNCTION(Runtime_InternalNumberFormat) { |
CONVERT_ARG_HANDLE_CHECKED(Object, number, 1); |
Handle<Object> value; |
- ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, |
- Object::ToNumber(isolate, number)); |
+ ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, Object::ToNumber(number)); |
icu::DecimalFormat* number_format = |
NumberFormat::UnpackNumberFormat(isolate, number_format_holder); |