Skip to content

Commit

Permalink
Update GetForegroundTaskRunner override
Browse files Browse the repository at this point in the history
  • Loading branch information
Etienne Pierre-doray committed Aug 28, 2024
1 parent df5efc4 commit 9832f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/node_platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ bool NodePlatform::IdleTasksEnabled(Isolate* isolate) {
}

std::shared_ptr<v8::TaskRunner>
NodePlatform::GetForegroundTaskRunner(Isolate* isolate) {
NodePlatform::GetForegroundTaskRunner(
Isolate* isolate,
v8::TaskPriority priority) {
return ForIsolate(isolate)->GetForegroundTaskRunner();
}

Expand Down
2 changes: 1 addition & 1 deletion src/node_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class NodePlatform : public MultiIsolatePlatform {
void* data) override;

std::shared_ptr<v8::TaskRunner> GetForegroundTaskRunner(
v8::Isolate* isolate) override;
v8::Isolate* isolate, v8::TaskPriority priority) override;

Platform::StackTracePrinter GetStackTracePrinter() override;
v8::PageAllocator* GetPageAllocator() override;
Expand Down

0 comments on commit 9832f50

Please sign in to comment.