| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| index 00392a53b93cb201a180f18e83c76b28d4111796..f0c0d1909b081c1f5791ed10049582790a8ff3db 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| @@ -64,6 +64,7 @@ class Frame;
|
| class LocalDOMWindow;
|
| class LocalFrame;
|
| class NodeFilter;
|
| +class WindowProxyManagerBase;
|
| class XPathNSResolver;
|
|
|
| template <typename T>
|
| @@ -336,6 +337,16 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo,
|
| callbackInfo.GetIsolate()));
|
| }
|
|
|
| +// Special version for a DOMWindow that might be detached.
|
| +
|
| +template <typename CallbackInfo>
|
| +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo,
|
| + WindowProxyManagerBase* impl,
|
| + const ScriptWrappable*) {
|
| + v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(),
|
| + callbackInfo.GetIsolate()));
|
| +}
|
| +
|
| template <typename CallbackInfo, typename T, typename Wrappable>
|
| inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo,
|
| PassRefPtr<T> impl,
|
|
|