| Index: third_party/WebKit/Source/web/WebHeap.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebHeap.cpp b/third_party/WebKit/Source/web/WebHeap.cpp
|
| index b711d4648eb771e8468b91b0cd66e32412051947..9924ba956524c10a652d1787c5f8ca2d3e9ea672 100644
|
| --- a/third_party/WebKit/Source/web/WebHeap.cpp
|
| +++ b/third_party/WebKit/Source/web/WebHeap.cpp
|
| @@ -47,12 +47,12 @@ WebHeap::SafePointScope::~SafePointScope()
|
|
|
| void WebHeap::collectGarbageForTesting()
|
| {
|
| - ThreadHeap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| + ThreadState::current()->collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| }
|
|
|
| void WebHeap::collectAllGarbageForTesting()
|
| {
|
| - ThreadHeap::collectAllGarbage();
|
| + ThreadState::current()-> collectAllGarbage();
|
| }
|
|
|
| } // namespace blink
|
|
|