perf: remove isolate scope from DidProcessTask() (#44472)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
9b15acb514
commit
310319b00a
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,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
|
||||
|
|
Loading…
Reference in a new issue