diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/controller/blink_leak_detector.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/controller/blink_leak_detector.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/controller/blink_leak_detector.cc b/chromium/third_party/blink/renderer/controller/blink_leak_detector.cc index 90554994c7a..d332220b6cf 100644 --- a/chromium/third_party/blink/renderer/controller/blink_leak_detector.cc +++ b/chromium/third_party/blink/renderer/controller/blink_leak_detector.cc @@ -25,7 +25,7 @@ namespace blink { BlinkLeakDetector::BlinkLeakDetector() - : delayed_gc_timer_(Platform::Current()->CurrentThread()->GetTaskRunner(), + : delayed_gc_timer_(Thread::Current()->GetTaskRunner(), this, &BlinkLeakDetector::TimerFiredGC) {} @@ -98,7 +98,7 @@ void BlinkLeakDetector::TimerFiredGC(TimerBase*) { V8GCController::CollectAllGarbageForTesting( V8PerIsolateData::MainThreadIsolate(), v8::EmbedderHeapTracer::EmbedderStackState::kEmpty); - CoreInitializer::GetInstance().CollectAllGarbageForAnimationWorklet(); + CoreInitializer::GetInstance().CollectAllGarbageForAnimationAndPaintWorklet(); // Note: Oilpan precise GC is scheduled at the end of the event loop. // Inspect counters on the next event loop. |