Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ee9d12e3be915fadd6302eadc920561a2668034f..46e2eab3c6cb6593fd28336308c65db2bc1a1837 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4674,7 +4674,8 @@ class V8_EXPORT ObjectTemplate : public Template { |
* the access check callback will be called to determine whether or |
* not to allow cross-context access to the properties. |
*/ |
- void SetAccessCheckCallback(AccessCheckCallback callback); |
+ void SetAccessCheckCallback(AccessCheckCallback callback, |
+ Local<Value> data = Local<Value>()); |
V8_DEPRECATE_SOON( |
"Use SetAccessCheckCallback instead", |