| Index: Source/platform/heap/Handle.h
|
| diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
|
| index 8026fbcc0b6740863807ebdc25b9d74224d58f3b..1c0f1d04325ea9a6b5f7237d56a2f886043b202c 100644
|
| --- a/Source/platform/heap/Handle.h
|
| +++ b/Source/platform/heap/Handle.h
|
| @@ -236,6 +236,14 @@ public:
|
| current->trace(visitor);
|
| }
|
|
|
| + int numberOfPersistents()
|
| + {
|
| + int numberOfPersistents = 0;
|
| + for (PersistentNode* current = m_next; current != this; current = current->m_next)
|
| + ++numberOfPersistents;
|
| + return numberOfPersistents;
|
| + }
|
| +
|
| virtual ~PersistentAnchor()
|
| {
|
| // FIXME: oilpan: Ideally we should have no left-over persistents at this point. However currently there is a
|
|
|