| Index: third_party/WebKit/Source/platform/heap/Heap.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| index 8a414e3ec0378d68a144275f1cf59b6561e47c60..9d33b4ee57ef582f41a8b336812dc08a2453d1cf 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -706,6 +706,8 @@ void Heap::resetHeapCounters()
|
| s_markedObjectSize = 0;
|
| s_wrapperCountAtLastGC = s_wrapperCount;
|
| s_collectedWrapperCount = 0;
|
| + for (ThreadState* state : ThreadState::attachedThreads())
|
| + state->resetHeapCounters();
|
| }
|
|
|
| CallbackStack* Heap::s_markingStack;
|
|
|