Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 874c48653f3689c4b334aa6f69d304805eb38787..186c8668b6ddbfcc6e0b81f8c4b57b339d61630a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2663,7 +2663,7 @@ class JSObject: public JSReceiver { |
// don't want to be wasteful with long lived objects. |
static const int kMaxUncheckedOldFastElementsLength = 500; |
- // Note that Heap::MaxRegularSpaceAllocationSize() puts a limit on |
+ // Note that Page::kMaxRegularHeapObjectSize puts a limit on |
// permissible values (see the ASSERT in heap.cc). |
static const int kInitialMaxFastElementArray = 100000; |