Index: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp |
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp |
index 20ab0a3a7b04ba68289fd49b86cdd83ee3ee7b78..dac9310a87f953f1f1a8831a845adb05dac9907c 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp |
@@ -68,7 +68,7 @@ protected: |
// Garbage collection is required prior to switching out the |
// test's memory cache; image resources are released, evicting |
// them from the cache. |
- ThreadHeap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
+ ThreadState::current()->collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
replaceMemoryCacheForTesting(m_globalMemoryCache.release()); |
} |