| Index: third_party/WebKit/Source/platform/heap/PersistentNode.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
|
| index f2d1e43a99422e05b0a8a80d502cc8b3bb3e71f8..329a0370df7d9394b8dc5fbec439def948f2ae43 100644
|
| --- a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
|
| @@ -51,7 +51,7 @@ void PersistentRegion::ensurePersistentNodeSlots(void* self, TraceCallback trace
|
| // list of PersistentNodes.
|
| void PersistentRegion::tracePersistentNodes(Visitor* visitor)
|
| {
|
| - size_t debugMarkedObjectSize = Heap::markedObjectSize();
|
| + size_t debugMarkedObjectSize = ProcessHeap::totalMarkedObjectSize();
|
| base::debug::Alias(&debugMarkedObjectSize);
|
|
|
| m_freeListHead = nullptr;
|
| @@ -73,7 +73,7 @@ void PersistentRegion::tracePersistentNodes(Visitor* visitor)
|
| } else {
|
| node->tracePersistentNode(visitor);
|
| ++persistentCount;
|
| - debugMarkedObjectSize = Heap::markedObjectSize();
|
| + debugMarkedObjectSize = ProcessHeap::totalMarkedObjectSize();
|
| }
|
| }
|
| if (freeCount == PersistentNodeSlots::slotCount) {
|
|
|