Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 3e0e1ba6dc1995d004bd7d7dd14939a4981589aa..f35c6e3e72c921bb256f5a1dfbc7240bd4e3538d 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -5,6 +5,7 @@ |
#include "src/v8.h" |
#include "src/api.h" |
+#include "src/api-natives.h" |
#include "src/arguments.h" |
#include "src/base/once.h" |
#include "src/bootstrapper.h" |
@@ -1035,8 +1036,8 @@ MUST_USE_RESULT static MaybeHandle<Object> HandleApiCallHelper( |
if (is_construct) { |
ASSIGN_RETURN_ON_EXCEPTION( |
isolate, fun_data, |
- isolate->factory()->ConfigureInstance( |
- fun_data, Handle<JSObject>::cast(args.receiver())), |
+ ApiNatives::ConfigureInstance(isolate, fun_data, |
+ Handle<JSObject>::cast(args.receiver())), |
Object); |
} |