| 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 a55dec33f09f1ccfb49bf9daace35e260b5a5902..7b94bbe75cd648efd4afae60c592ced48c85b665 100644
|
| --- a/third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| +++ b/third_party/WebKit/Source/platform/heap/PersistentNode.h
|
| @@ -150,12 +150,8 @@ public:
|
| #endif
|
| }
|
|
|
| - static bool shouldTracePersistentNode(Visitor*, PersistentNode*) { return true; }
|
| -
|
| - using ShouldTraceCallback = bool (*)(Visitor*, PersistentNode*);
|
| - void tracePersistentNodes(Visitor*, ShouldTraceCallback = PersistentRegion::shouldTracePersistentNode);
|
| -
|
| void releasePersistentNode(PersistentNode*, ThreadState::PersistentClearCallback);
|
| + void tracePersistentNodes(Visitor*);
|
| int numberOfPersistents();
|
|
|
| private:
|
| @@ -190,13 +186,11 @@ public:
|
| void tracePersistentNodes(Visitor* visitor)
|
| {
|
| MutexLocker lock(m_mutex);
|
| - m_persistentRegion->tracePersistentNodes(visitor, CrossThreadPersistentRegion::shouldTracePersistentNode);
|
| + m_persistentRegion->tracePersistentNodes(visitor);
|
| }
|
|
|
| void prepareForThreadStateTermination(ThreadState*);
|
|
|
| - static bool shouldTracePersistentNode(Visitor*, PersistentNode*);
|
| -
|
| private:
|
| // We don't make CrossThreadPersistentRegion inherit from PersistentRegion
|
| // because we don't want to virtualize performance-sensitive methods
|
|
|