Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index c5479c518ed374fbd6c58586cef6481b3182eeb0..784bdfaf9a753d3eefd3d5924547872064434369 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4931,7 +4931,10 @@ class V8_EXPORT Exception { |
* Will try to reconstruct the original stack trace from the exception value, |
* or capture the current stack trace if not available. |
*/ |
- static Local<Message> CreateMessage(Local<Value> exception); |
+ static Local<Message> CreateMessage(Isolate* isolate, Local<Value> exception); |
+ V8_DEPRECATE_SOON( |
+ "Use version with an Isolate*", |
+ static Local<Message> CreateMessage(Local<Value> exception)); |
/** |
* Returns the original stack trace that was captured at the creation time |