Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 86ae7b646b0fdee3549243495dd5cc43c74bbbe6..8c167e14215a12a18a7cc51eac7b340ebe167224 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -679,11 +679,11 @@ class Isolate { |
Handle<JSArray> GetDetailedFromSimpleStackTrace( |
Handle<JSObject> error_object); |
- // Returns if the top context may access the given global object. If |
+ // Returns if the given context may access the given global object. If |
// the result is false, the pending exception is guaranteed to be |
// set. |
+ bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); |
- bool MayAccess(Handle<JSObject> receiver); |
bool IsInternallyUsedPropertyName(Handle<Object> name); |
bool IsInternallyUsedPropertyName(Object* name); |