Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-27 16:21:51 +0300
committerAnna Henningsen <anna@addaleax.net>2019-01-29 22:02:02 +0300
commit77fa310949cf926bf7befffff32616cb1ba1c41b (patch)
treed97cd0f6be56fae1255b2ed3aa0be398173b449d /src/node_perf.h
parent95571ac1e9acd09d0b06b2315aabb0cc4e158572 (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.h2
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_; }