diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-01-27 16:21:51 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-29 22:02:02 +0300 |
commit | 77fa310949cf926bf7befffff32616cb1ba1c41b (patch) | |
tree | d97cd0f6be56fae1255b2ed3aa0be398173b449d /src/node_perf.h | |
parent | 95571ac1e9acd09d0b06b2315aabb0cc4e158572 (diff) |
src: pass along errors from perf obj instantiation
PR-URL: https://github.com/nodejs/node/pull/25734
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/node_perf.h')
-rw-r--r-- | src/node_perf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_perf.h b/src/node_perf.h index fe418ad4417..56140bd62de 100644 --- a/src/node_perf.h +++ b/src/node_perf.h @@ -75,7 +75,7 @@ class PerformanceEntry { virtual ~PerformanceEntry() { } - virtual const Local<Object> ToObject() const; + virtual v8::MaybeLocal<Object> ToObject() const; Environment* env() const { return env_; } |