perf: remove isolate scope from DidProcessTask() (#44471)
* Revert "docs: fix `win.getContentView(`) return type (#44464)"
This reverts commit b11c6cf9bf
.
* perf: remove isolate scope from DidProcessTask()
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
This commit is contained in:
parent
8f857284a4
commit
517fc64eae
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ void MicrotasksRunner::WillProcessTask(const base::PendingTask& pending_task,
|
||||||
bool was_blocked_or_low_priority) {}
|
bool was_blocked_or_low_priority) {}
|
||||||
|
|
||||||
void MicrotasksRunner::DidProcessTask(const base::PendingTask& pending_task) {
|
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
|
// 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
|
// and let the MicrotaskRunner which is a task observer for chromium UI thread
|
||||||
// scheduler run the microtask checkpoint. This worked fine because Node.js
|
// scheduler run the microtask checkpoint. This worked fine because Node.js
|
||||||
|
|
Loading…
Reference in a new issue