Skip to content

Commit

Permalink
perf: remove isolate scope from DidProcessTask() (#44439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckerr authored Oct 30, 2024
1 parent fb959f8 commit a720c8d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shell/browser/microtasks_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a720c8d

Please sign in to comment.