Browse Source

perf: remove isolate scope from DidProcessTask() (#44473)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <[email protected]>
trop[bot] 5 months ago
parent
commit
4f13824bc9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      shell/browser/microtasks_runner.cc

+ 0 - 1
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