| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 44f8c7b568f52d96506e49f59b2e90211b8b81f2..00f3dae9f1be00ddb782c7075796302b4f5984eb 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -4999,8 +4999,10 @@ class PromiseRejectMessage {
|
| V8_INLINE PromiseRejectEvent GetEvent() const { return event_; }
|
| V8_INLINE Local<Value> GetValue() const { return value_; }
|
|
|
| - // DEPRECATED. Use v8::Exception::CreateMessage(GetValue())->GetStackTrace()
|
| - V8_INLINE Local<StackTrace> GetStackTrace() const { return stack_trace_; }
|
| + V8_DEPRECATED("Use v8::Exception::CreateMessage(GetValue())->GetStackTrace()",
|
| + V8_INLINE Local<StackTrace> GetStackTrace() const) {
|
| + return stack_trace_;
|
| + }
|
|
|
| private:
|
| Local<Promise> promise_;
|
|
|