| Index: third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.h b/third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| index 260e585ff9a083768c47f65e32244621091ae65a..a55dec33f09f1ccfb49bf9daace35e260b5a5902 100644
|
| --- a/third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| +++ b/third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| @@ -139,6 +139,7 @@ public:
|
| ASSERT(!node->isUnused());
|
| return node;
|
| }
|
| +
|
| void freePersistentNode(PersistentNode* persistentNode)
|
| {
|
| ASSERT(m_persistentCount > 0);
|
| @@ -153,6 +154,8 @@ public:
|
|
|
| using ShouldTraceCallback = bool (*)(Visitor*, PersistentNode*);
|
| void tracePersistentNodes(Visitor*, ShouldTraceCallback = PersistentRegion::shouldTracePersistentNode);
|
| +
|
| + void releasePersistentNode(PersistentNode*, ThreadState::PersistentClearCallback);
|
| int numberOfPersistents();
|
|
|
| private:
|
|
|