diff options
author | Sergei Datsenko <dats@chromium.org> | 2017-08-30 03:46:24 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2017-12-06 14:52:07 +0300 |
commit | a1ed29b1c63675420832048d330b78c18d0edd77 (patch) | |
tree | b26487e25cd4966d3a9405f252064433ccbb11de /src/node_platform.h | |
parent | a7c5fe9ba63f9d4fd9451c55a2dcd8f1728c2c33 (diff) |
src: implement getting current time in NodePlatform
It is required by a change in V8.
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/598666
PR-URL: https://github.com/nodejs/node/pull/16271
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'src/node_platform.h')
-rw-r--r-- | src/node_platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_platform.h b/src/node_platform.h index e5253cac10c..b7546057871 100644 --- a/src/node_platform.h +++ b/src/node_platform.h @@ -127,6 +127,7 @@ class NodePlatform : public MultiIsolatePlatform { double delay_in_seconds) override; bool IdleTasksEnabled(v8::Isolate* isolate) override; double MonotonicallyIncreasingTime() override; + double CurrentClockTimeMillis() override; v8::TracingController* GetTracingController() override; void FlushForegroundTasks(v8::Isolate* isolate); |