From a720c8daf6a294871be6b8818150d57979f88b40 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 29 Oct 2024 23:25:40 -0500 Subject: [PATCH] perf: remove isolate scope from DidProcessTask() (#44439) --- shell/browser/microtasks_runner.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/browser/microtasks_runner.cc b/shell/browser/microtasks_runner.cc index ac8774e710..e50ef5f610 100755 --- a/shell/browser/microtasks_runner.cc +++ b/shell/browser/microtasks_runner.cc @@ -17,7 +17,6 @@ void MicrotasksRunner::WillProcessTask(const base::PendingTask& pending_task, bool was_blocked_or_low_priority) {} void MicrotasksRunner::DidProcessTask(const base::PendingTask& pending_task) { - v8::Isolate::Scope scope(isolate_); // In the browser process we follow Node.js microtask policy of kExplicit // and let the MicrotaskRunner which is a task observer for chromium UI thread // scheduler run the microtask checkpoint. This worked fine because Node.js