Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 7035b06f84f0bf6c4c9d61d8001ac2d96994335b..3801901307f4b16117ff7388ecb14aa06f8e7f53 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -785,31 +785,15 @@ class Isolate { |
// the result is false, the pending exception is guaranteed to be |
// set. |
- // TODO(yangguo): temporary wrappers |
- bool MayNamedAccessWrapper(Handle<JSObject> receiver, |
- Handle<Object> key, |
- v8::AccessType type) { |
- return MayNamedAccess(*receiver, *key, type); |
- } |
- bool MayIndexedAccessWrapper(Handle<JSObject> receiver, |
- uint32_t index, |
- v8::AccessType type) { |
- return MayIndexedAccess(*receiver, index, type); |
- } |
- void ReportFailedAccessCheckWrapper(Handle<JSObject> receiver, |
- v8::AccessType type) { |
- ReportFailedAccessCheck(*receiver, type); |
- } |
- |
- bool MayNamedAccess(JSObject* receiver, |
- Object* key, |
+ bool MayNamedAccess(Handle<JSObject> receiver, |
+ Handle<Object> key, |
v8::AccessType type); |
- bool MayIndexedAccess(JSObject* receiver, |
+ bool MayIndexedAccess(Handle<JSObject> receiver, |
uint32_t index, |
v8::AccessType type); |
void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); |
- void ReportFailedAccessCheck(JSObject* receiver, v8::AccessType type); |
+ void ReportFailedAccessCheck(Handle<JSObject> receiver, v8::AccessType type); |
// Exception throwing support. The caller should use the result |
// of Throw() as its return value. |