| Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| index 664912e0808a04039fe4dfcf05f5456d0f8f4160..0d2254fd5c83231cfb4057e948b53fe4a05f88c1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| @@ -489,10 +489,10 @@ void ThreadState::threadLocalWeakProcessing()
|
| // Due to the complexity, we just forbid allocations.
|
| NoAllocationScope noAllocationScope(this);
|
|
|
| - VisitorScope visitorScope(this, BlinkGC::ThreadLocalWeakProcessing);
|
| + OwnPtr<Visitor> visitor = Visitor::create(this, BlinkGC::ThreadLocalWeakProcessing);
|
|
|
| // Perform thread-specific weak processing.
|
| - while (popAndInvokeThreadLocalWeakCallback(visitorScope.visitor())) { }
|
| + while (popAndInvokeThreadLocalWeakCallback(visitor.get())) { }
|
|
|
| m_threadLocalWeakCallbackStack->decommit();
|
|
|
|
|