Index: src/heap/spaces-inl.h |
diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h |
index cd76fe68ce2d1ec2ca974d754a0ad01ed9a31f9d..4e436a2e0f0a06c58c4128ffaeeb065bfacbaa78 100644 |
--- a/src/heap/spaces-inl.h |
+++ b/src/heap/spaces-inl.h |
@@ -188,7 +188,7 @@ Page* Page::Initialize(Heap* heap, MemoryChunk* chunk, Executability executable, |
PagedSpace* owner) { |
Page* page = reinterpret_cast<Page*>(chunk); |
page->mutex_ = new base::Mutex(); |
- DCHECK(page->area_size() <= kMaxRegularHeapObjectSize); |
+ DCHECK(page->area_size() <= kAllocatableMemory); |
DCHECK(chunk->owner() == owner); |
owner->IncreaseCapacity(page->area_size()); |
owner->Free(page->area_start(), page->area_size()); |