Index: src/runtime/runtime-i18n.cc |
diff --git a/src/runtime/runtime-i18n.cc b/src/runtime/runtime-i18n.cc |
index 94d9f423b021de4ee571d15a7929136ea31d7685..5e016515448d6a0c8ce790491556915cd88d1229 100644 |
--- a/src/runtime/runtime-i18n.cc |
+++ b/src/runtime/runtime-i18n.cc |
@@ -6,6 +6,7 @@ |
#ifdef V8_I18N_SUPPORT |
#include "src/v8.h" |
+#include "src/api-natives.h" |
#include "src/arguments.h" |
#include "src/i18n.h" |
#include "src/runtime/runtime-utils.h" |
@@ -317,7 +318,7 @@ RUNTIME_FUNCTION(Runtime_CreateDateTimeFormat) { |
Handle<JSObject> local_object; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
isolate, local_object, |
- Execution::InstantiateObject(date_format_template)); |
+ ApiNatives::InstantiateObject(date_format_template)); |
// Set date time formatter as internal field of the resulting JS object. |
icu::SimpleDateFormat* date_format = |
@@ -412,7 +413,7 @@ RUNTIME_FUNCTION(Runtime_CreateNumberFormat) { |
Handle<JSObject> local_object; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
isolate, local_object, |
- Execution::InstantiateObject(number_format_template)); |
+ ApiNatives::InstantiateObject(number_format_template)); |
// Set number formatter as internal field of the resulting JS object. |
icu::DecimalFormat* number_format = |
@@ -517,7 +518,7 @@ RUNTIME_FUNCTION(Runtime_CreateCollator) { |
// Create an empty object wrapper. |
Handle<JSObject> local_object; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
- isolate, local_object, Execution::InstantiateObject(collator_template)); |
+ isolate, local_object, ApiNatives::InstantiateObject(collator_template)); |
// Set collator as internal field of the resulting JS object. |
icu::Collator* collator = |
@@ -616,7 +617,7 @@ RUNTIME_FUNCTION(Runtime_CreateBreakIterator) { |
Handle<JSObject> local_object; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
isolate, local_object, |
- Execution::InstantiateObject(break_iterator_template)); |
+ ApiNatives::InstantiateObject(break_iterator_template)); |
// Set break iterator as internal field of the resulting JS object. |
icu::BreakIterator* break_iterator = BreakIterator::InitializeBreakIterator( |