Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index baf7095b6a9fe2df5bde1e14b751a4c1681b7431..a274b6a2560e70c2ccff8095cb4ac50e229b693f 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -828,11 +828,11 @@ bool Isolate::MayAccess(Handle<Context> accessing_context, |
if (!access_check_info) return false; |
Object* fun_obj = access_check_info->callback(); |
callback = v8::ToCData<v8::AccessCheckCallback>(fun_obj); |
+ data = handle(access_check_info->data(), this); |
if (!callback) { |
fun_obj = access_check_info->named_callback(); |
named_callback = v8::ToCData<v8::NamedSecurityCallback>(fun_obj); |
if (!named_callback) return false; |
- data = handle(access_check_info->data(), this); |
} |
} |