Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index adf4b6af576431d8d2d7c078a3fcbaffcaca8c1b..4d3dc4d5401d9ddf75b687456887dcec111b7d02 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -545,7 +545,7 @@ Handle<JSFunction> ApiNatives::CreateApiFunction( |
if (!obj->needs_access_check() && |
obj->named_property_handler()->IsUndefined() && |
obj->indexed_property_handler()->IsUndefined()) { |
- type = JS_OBJECT_TYPE; |
+ type = JS_API_OBJECT_TYPE; |
} else { |
type = JS_SPECIAL_API_OBJECT_TYPE; |
} |