Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index d97dfae0a08d064ef55ec82aac65ca32c1c64d66..cc1c67786ecfa060cf44616b3b069db4447c4faa 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -584,11 +584,6 @@ Handle<JSFunction> ApiNatives::CreateApiFunction( |
map->set_is_undetectable(); |
} |
- // Mark as hidden for the __proto__ accessor if needed. |
- if (obj->hidden_prototype()) { |
- map->set_is_hidden_prototype(); |
- } |
- |
// Mark as needs_access_check if needed. |
if (obj->needs_access_check()) { |
map->set_is_access_check_needed(true); |