diff options
Diffstat (limited to 'chromium/gin/public')
-rw-r--r-- | chromium/gin/public/v8_platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/gin/public/v8_platform.h b/chromium/gin/public/v8_platform.h index 8a3d30358e4..da2aeb2f2da 100644 --- a/chromium/gin/public/v8_platform.h +++ b/chromium/gin/public/v8_platform.h @@ -34,6 +34,9 @@ class GIN_EXPORT V8Platform : public v8::Platform { std::unique_ptr<v8::Task> task) override; void CallDelayedOnWorkerThread(std::unique_ptr<v8::Task> task, double delay_in_seconds) override; + std::unique_ptr<v8::JobHandle> PostJob( + v8::TaskPriority priority, + std::unique_ptr<v8::JobTask> job_task) override; bool IdleTasksEnabled(v8::Isolate* isolate) override; double MonotonicallyIncreasingTime() override; double CurrentClockTimeMillis() override; |