Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 0a9d81c2fe63caf2d2bd2f0012db18d214a88fbf..ae0465f03dc803b12aa0f68356e3f8e61b57e77b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1449,6 +1449,10 @@ void ObjectTemplate::SetAccessCheckCallback(AccessCheckCallback callback, |
cons->set_needs_access_check(true); |
} |
+void ObjectTemplate::SetAccessCheckCallback( |
+ DeprecatedAccessCheckCallback callback, Local<Value> data) { |
+ SetAccessCheckCallback(reinterpret_cast<AccessCheckCallback>(callback), data); |
+} |
void ObjectTemplate::SetAccessCheckCallbacks( |
NamedSecurityCallback named_callback, |