Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 36df60a5f5d8d91ff7d88777750af640d4624b59..8f747a9571304a9ae61d69eef808a145d0de5750 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3146,7 +3146,8 @@ class FunctionCallbackInfo { |
public: |
V8_INLINE int Length() const; |
V8_INLINE Local<Value> operator[](int i) const; |
- V8_INLINE Local<Function> Callee() const; |
+ V8_INLINE V8_DEPRECATED("Use Data() to explicitly pass Callee instead", |
+ Local<Function> Callee() const); |
V8_INLINE Local<Object> This() const; |
V8_INLINE Local<Object> Holder() const; |
V8_INLINE bool IsConstructCall() const; |