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 cd0ca6064b90af3a7bfe41b0a35f779154f7610a..c45a94ae355f4853b4c10bb70d8138e6869536bc 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -280,12 +280,12 @@ class TestGCScope { |
explicit TestGCScope(BlinkGC::StackState state) |
: m_state(ThreadState::current()), m_safePointScope(state) { |
ASSERT(m_state->checkThread()); |
- m_state->heap().preGC(); |
+ m_state->preGC(); |
} |
~TestGCScope() { |
- m_state->heap().postGC(BlinkGC::GCWithSweep); |
- m_state->heap().preSweep(BlinkGC::GCWithSweep); |
+ m_state->postGC(BlinkGC::GCWithSweep); |
+ m_state->preSweep(BlinkGC::GCWithSweep); |
} |
private: |