Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 8362513474da663fd2fdb36e8e7fc13dfcd942ec..e11e88ba590219e4eda73429b80b39bc58a41709 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -467,7 +467,7 @@ public: |
// address ranges for the Blink heap. If the address is in the Blink |
// heap the containing heap page is returned. |
HeapContainsCache* heapContainsCache() { return m_heapContainsCache.get(); } |
- BaseHeapPage* contains(Address); |
+ BaseHeapPage* contains(Address address) { return heapPageFromAddress(address); } |
BaseHeapPage* contains(void* pointer) { return contains(reinterpret_cast<Address>(pointer)); } |
BaseHeapPage* contains(const void* pointer) { return contains(const_cast<void*>(pointer)); } |