Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index b4db9e5605a9212851a4b46cd4fbefadde2d8685..674bb9d756966d7deb0a8c4904f1c9b2b2d9f230 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -3425,9 +3425,9 @@ void JSObject::DeleteHiddenProperty(String* key) { |
bool JSObject::HasHiddenProperties() { |
- LookupResult lookup; |
- LocalLookupRealNamedProperty(GetHeap()->hidden_symbol(), &lookup); |
- return lookup.IsFound(); |
+ return GetPropertyAttributePostInterceptor(this, |
+ GetHeap()->hidden_symbol(), |
+ false) != ABSENT; |
} |