Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 3f58c09693c54c4329a4f1d6ff6eb4bed800246e..c101fd160c6647829f983717ad9ac4eaafd712ab 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3349,10 +3349,11 @@ class V8_EXPORT Promise : public Object { |
* an argument. If the promise is already resolved/rejected, the handler is |
* invoked at the end of turn. |
*/ |
- V8_DEPRECATE_SOON("Use maybe version", |
+ V8_DEPRECATE_SOON("Use maybe version of Then", |
Local<Promise> Chain(Local<Function> handler)); |
- V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Chain(Local<Context> context, |
- Local<Function> handler); |
+ V8_DEPRECATE_SOON("Use Then", |
+ V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Chain( |
+ Local<Context> context, Local<Function> handler)); |
V8_DEPRECATE_SOON("Use maybe version", |
Local<Promise> Catch(Local<Function> handler)); |