diff options
Diffstat (limited to 'deps/v8/test/cctest/cctest.h')
-rw-r--r-- | deps/v8/test/cctest/cctest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/cctest.h b/deps/v8/test/cctest/cctest.h index e503b519144..15b0f6adf1d 100644 --- a/deps/v8/test/cctest/cctest.h +++ b/deps/v8/test/cctest/cctest.h @@ -704,6 +704,12 @@ class TestPlatform : public v8::Platform { old_platform_->CallDelayedOnWorkerThread(std::move(task), delay_in_seconds); } + std::unique_ptr<v8::JobHandle> PostJob( + v8::TaskPriority priority, + std::unique_ptr<v8::JobTask> job_task) override { + return old_platform_->PostJob(priority, std::move(job_task)); + } + double MonotonicallyIncreasingTime() override { return old_platform_->MonotonicallyIncreasingTime(); } |