| Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| index 9bda7c92564ec4b9977afc4f61b3aa8b9472646a..764d78e5e7166f4fc0dd921d5c8465d18db7aef1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -283,7 +283,10 @@ class TestGCScope {
|
| m_state->heap().preGC();
|
| }
|
|
|
| - ~TestGCScope() { m_state->heap().postGC(BlinkGC::GCWithSweep); }
|
| + ~TestGCScope() {
|
| + m_state->heap().postGC(BlinkGC::GCWithSweep);
|
| + m_state->heap().preSweep(BlinkGC::GCWithSweep);
|
| + }
|
|
|
| private:
|
| ThreadState* m_state;
|
|
|