Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index 3be2df0bb686a5d9d8e2d75220e2b030739cdad9..60b930374139df0c66b77130efc7f81f1c9938fd 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -564,7 +564,7 @@ Handle<JSFunction> ApiNatives::CreateApiFunction( |
result->shared()->set_instance_class_name(*class_name); |
result->shared()->set_name(*class_name); |
} |
- result->shared()->set_function_data(*obj); |
+ result->shared()->set_api_func_data(*obj); |
result->shared()->set_construct_stub(*construct_stub); |
result->shared()->DontAdaptArguments(); |