Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ddae1ed229314b7623bc110be862f140aed8ed06..29884f3c0f32dbe55cb494cc49d74aa253aeaf0c 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4188,9 +4188,7 @@ class V8_EXPORT Exception { |
static Local<Value> TypeError(Handle<String> message); |
static Local<Value> Error(Handle<String> message); |
- static Local<Message> GetMessage(Handle<Value> exception); |
- |
- // DEPRECATED. Use GetMessage()->GetStackTrace() |
+ static Local<Message> CreateMessage(Handle<Value> exception); |
static Local<StackTrace> GetStackTrace(Handle<Value> exception); |
aandrey
2014/11/11 10:54:07
This method will be used by inspector as it's not
Yang
2014/11/11 13:49:14
Can you elaborate why the inspector can't use Crea
|
}; |
@@ -4252,7 +4250,7 @@ class PromiseRejectMessage { |
V8_INLINE PromiseRejectEvent GetEvent() const { return event_; } |
V8_INLINE Handle<Value> GetValue() const { return value_; } |
- // DEPRECATED. Use v8::Exception::GetMessage(GetValue())->GetStackTrace() |
+ // DEPRECATED. Use v8::Exception::CreateMessage(GetValue())->GetStackTrace() |
V8_INLINE Handle<StackTrace> GetStackTrace() const { return stack_trace_; } |
private: |