Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index 20a4b73fb0d4f22e32e1c18edcd0153c8c367e13..6221d6741d2d7d687536662a25a960d974aeb9fa 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -168,7 +168,7 @@ class LookupIterator final BASE_EMBEDDED { |
Handle<Name> GetName() { |
if (name_.is_null()) { |
DCHECK(IsElement()); |
- name_ = isolate_->factory()->Uint32ToString(index_); |
+ name_ = factory()->Uint32ToString(index_); |
} |
return name_; |
} |
@@ -183,6 +183,7 @@ class LookupIterator final BASE_EMBEDDED { |
state_ = NOT_FOUND; |
} |
+ Heap* heap() const { return isolate_->heap(); } |
Factory* factory() const { return isolate_->factory(); } |
Handle<Object> GetReceiver() const { return receiver_; } |
Handle<JSObject> GetStoreTarget() const; |