Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 44cc3e9c86d889093b3883d7fb18162febcff19c..91c1ca19feb251b38a2065eb42e45a2073cb08e0 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -326,7 +326,7 @@ AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, |
isolate_->counters()->objs_since_last_young()->Increment(); |
#endif |
- bool large_object = size_in_bytes > Page::kMaxRegularHeapObjectSize; |
+ bool large_object = size_in_bytes > kMaxRegularHeapObjectSize; |
HeapObject* object = nullptr; |
AllocationResult allocation; |
if (NEW_SPACE == space) { |