Index: src/isolate.cc |
=================================================================== |
--- src/isolate.cc (revision 10751) |
+++ src/isolate.cc (working copy) |
@@ -775,10 +775,12 @@ |
HandleScope scope; |
Handle<JSObject> receiver_handle(receiver); |
Handle<Object> data(AccessCheckInfo::cast(data_obj)->data()); |
- thread_local_top()->failed_access_check_callback_( |
- v8::Utils::ToLocal(receiver_handle), |
- type, |
- v8::Utils::ToLocal(data)); |
+ { VMState state(this, EXTERNAL); |
+ thread_local_top()->failed_access_check_callback_( |
+ v8::Utils::ToLocal(receiver_handle), |
+ type, |
+ v8::Utils::ToLocal(data)); |
+ } |
} |