Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 094590ec7c0514fd42f8c389e726cfd23ccf810e..0f78ba478ec8512e8d94fd57a502a42a470c582a 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -46,7 +46,8 @@ class Descriptor BASE_EMBEDDED { |
public: |
MUST_USE_RESULT MaybeObject* KeyToUniqueName() { |
if (!key_->IsUniqueName()) { |
- MaybeObject* maybe_result = HEAP->InternalizeString(String::cast(key_)); |
+ MaybeObject* maybe_result = |
+ key_->GetIsolate()->heap()->InternalizeString(String::cast(key_)); |
if (!maybe_result->To(&key_)) return maybe_result; |
} |
return key_; |