Index: third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
index f110bad683f1499273b33cd87d7c2142270bba27..810e3fa4bc05d0543180d7b83efb1b98406e99b4 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
@@ -356,7 +356,7 @@ |
// to collect all garbage, you need to wait until the next event loop. |
// Regarding (2), it would be OK in practice to trigger only one GC per gcEpilogue, because |
// GCController.collectAll() forces multiple V8's GC. |
- ThreadHeap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
+ Heap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
// Forces a precise GC at the end of the current event loop. |
if (ThreadState::current()) { |
@@ -369,7 +369,7 @@ |
// low memory notifications. |
if (flags & v8::kGCCallbackFlagCollectAllAvailableGarbage) { |
// This single GC is not enough. See the above comment. |
- ThreadHeap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
+ Heap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC); |
// Do not force a precise GC at the end of the current event loop. |
// According to UMA stats, the collection rate of the precise GC |