[+] Missing methods in default runner

Last aurora commit: 11385c7b
This commit is contained in:
Reece Wilson 2023-02-07 19:58:21 +00:00
parent 11385c7b85
commit f4b0ec560b
2 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,10 @@ class V8_PLATFORM_EXPORT DefaultForegroundTaskRunner
double delay_in_seconds) override;
bool NonNestableTasksEnabled() const override;
inline void PostSignalTask(std::unique_ptr<Task> task) override {
this->PostTask(std::move(task));
}
private:
enum Nestability { kNestable, kNonNestable };

View File

@ -41,6 +41,10 @@ class V8_PLATFORM_EXPORT DefaultWorkerThreadsTaskRunner
bool IdleTasksEnabled() override;
inline void PostSignalTask(std::unique_ptr<Task> task) override {
this->PostTask(std::move(task));
}
private:
class WorkerThread : public base::Thread {
public: