Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e58e8c58e2c985b58ad0cbd6bd23bbb384a0acef..59a31f50044f9389ae87f315419850839aecac8d 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1743,7 +1743,8 @@ class V8_EXPORT ValueDeserializer { |
* Reads and validates a header (including the format version). |
* May, for example, reject an invalid or unsupported wire format. |
*/ |
- V8_WARN_UNUSED_RESULT Maybe<bool> ReadHeader(); |
+ V8_WARN_UNUSED_RESULT Maybe<bool> ReadHeader(Local<Context> context); |
+ V8_DEPRECATE_SOON("Use Local<Context> version", Maybe<bool> ReadHeader()); |
/* |
* Deserializes a JavaScript value from the buffer. |