| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76a6592 commit 311ec12
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -187,8 +187,6 @@ static int StartDebugSignalHandler() { | |||
| 187 | 187 | #endif // _WIN32 | |
| 188 | 188 | ||
| 189 | 189 | ||
| 190 | - // Used in NodeInspectorClient::currentTimeMS() below. | ||
| 191 | - const int NANOS_PER_MSEC = 1000000; | ||
| 192 | 190 | const int CONTEXT_GROUP_ID = 1; | |
| 193 | 191 | ||
| 194 | 192 | class ChannelImpl final : public v8_inspector::V8Inspector::Channel, | |
@@ -593,7 +591,7 @@ class NodeInspectorClient : public V8InspectorClient { | |||
| 593 | 591 | } | |
| 594 | 592 | ||
| 595 | 593 | double currentTimeMS() override { | |
| 596 | - return uv_hrtime() * 1.0 / NANOS_PER_MSEC; | ||
| 594 | + return env_->isolate_data()->platform()->CurrentClockTimeMillis(); | ||
| 597 | 595 | } | |
| 598 | 596 | ||
| 599 | 597 | node::Environment* env_; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments