| 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 a6a75d4b01ffe538a3d2397e8a7e6f7e00de0b13..c2b0bb3e801c559c2a502c06c84bede3e602c5ac 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -440,17 +440,15 @@ void ThreadHeap::decommitCallbackStacks()
|
| void ThreadHeap::preGC()
|
| {
|
| ASSERT(!ThreadState::current()->isInGC());
|
| - for (ThreadState* state : m_threads) {
|
| + for (ThreadState* state : m_threads)
|
| state->preGC();
|
| - }
|
| }
|
|
|
| void ThreadHeap::postGC(BlinkGC::GCType gcType)
|
| {
|
| ASSERT(ThreadState::current()->isInGC());
|
| - for (ThreadState* state : m_threads) {
|
| + for (ThreadState* state : m_threads)
|
| state->postGC(gcType);
|
| - }
|
| }
|
|
|
| const char* ThreadHeap::gcReasonString(BlinkGC::GCReason reason)
|
| @@ -744,18 +742,16 @@ void ThreadHeap::visitPersistentRoots(Visitor* visitor)
|
| TRACE_EVENT0("blink_gc", "ThreadHeap::visitPersistentRoots");
|
| ProcessHeap::crossThreadPersistentRegion().tracePersistentNodes(visitor);
|
|
|
| - for (ThreadState* state : m_threads) {
|
| + for (ThreadState* state : m_threads)
|
| state->visitPersistents(visitor);
|
| - }
|
| }
|
|
|
| void ThreadHeap::visitStackRoots(Visitor* visitor)
|
| {
|
| ASSERT(ThreadState::current()->isInGC());
|
| TRACE_EVENT0("blink_gc", "ThreadHeap::visitStackRoots");
|
| - for (ThreadState* state : m_threads) {
|
| + for (ThreadState* state : m_threads)
|
| state->visitStack(visitor);
|
| - }
|
| }
|
|
|
| void ThreadHeap::checkAndPark(ThreadState* threadState, SafePointAwareMutexLocker* locker)
|
|
|