Index: third_party/WebKit/Source/bindings/core/v8/ToV8.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
index 2495d769c709f6673e5e6f9ebe18f44bd7527aaa..b84c14d14691dc603a559f1527677ee0802208be 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -25,6 +25,7 @@ namespace blink { |
class DOMWindow; |
class Dictionary; |
class EventTarget; |
+class WindowProxyManagerBase; |
// ScriptWrappable |
@@ -61,10 +62,18 @@ inline v8::Local<v8::Value> ToV8(Node* impl, |
CORE_EXPORT v8::Local<v8::Value> ToV8(DOMWindow*, |
v8::Local<v8::Object> creationContext, |
v8::Isolate*); |
+ |
CORE_EXPORT v8::Local<v8::Value> ToV8(EventTarget*, |
v8::Local<v8::Object> creationContext, |
v8::Isolate*); |
+// Special version for DOMWindow when it needs to return a value even when |
+// detached. |
+ |
+CORE_EXPORT v8::Local<v8::Value> ToV8(WindowProxyManagerBase*, |
+ v8::Local<v8::Object> creationContext, |
+ v8::Isolate*); |
+ |
// Primitives |
inline v8::Local<v8::Value> ToV8(const String& value, |