Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 815f43db7b2fb392ec521940c3b43821f190196b..9bf96081d5a4a3276bff5aa06892331055269c5b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5150,20 +5150,16 @@ class V8_EXPORT ExtensionConfiguration { |
class V8_EXPORT Context { |
public: |
/** |
- * Returns the global proxy object or global object itself for |
- * detached contexts. |
+ * Returns the global proxy object. |
* |
- * Global proxy object is a thin wrapper whose prototype points to |
- * actual context's global object with the properties like Object, etc. |
- * This is done that way for security reasons (for more details see |
+ * Global proxy object is a thin wrapper whose prototype points to actual |
+ * context's global object with the properties like Object, etc. This is done |
+ * that way for security reasons (for more details see |
* https://wiki.mozilla.org/Gecko:SplitWindow). |
* |
* Please note that changes to global proxy object prototype most probably |
- * would break VM---v8 expects only global object as a prototype of |
- * global proxy object. |
- * |
- * If DetachGlobal() has been invoked, Global() would return actual global |
- * object until global is reattached with ReattachGlobal(). |
+ * would break VM---v8 expects only global object as a prototype of global |
+ * proxy object. |
*/ |
Local<Object> Global(); |
@@ -5174,18 +5170,6 @@ class V8_EXPORT Context { |
void DetachGlobal(); |
/** |
- * Reattaches a global object to a context. This can be used to |
- * restore the connection between a global object and a context |
- * after DetachGlobal has been called. |
- * |
- * \param global_object The global object to reattach to the |
- * context. For this to work, the global object must be the global |
- * object that was associated with this context before a call to |
- * DetachGlobal. |
- */ |
- void ReattachGlobal(Handle<Object> global_object); |
- |
- /** |
* Creates a new context and returns a handle to the newly allocated |
* context. |
* |