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