| Index: Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index 9e50f8b38fc5167cf25657f7e604bc61c1413742..0f576c534cf38db32dd439d85967c9437a6efca0 100644
|
| --- a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -290,7 +290,7 @@ void V8InjectedScriptHost::getEventListenersMethodCustom(const v8::FunctionCallb
|
|
|
| // We need to handle a LocalDOMWindow specially, because a LocalDOMWindow wrapper exists on a prototype chain.
|
| if (!target)
|
| - target = toDOMWindow(value, info.GetIsolate());
|
| + target = toDOMWindow(info.GetIsolate(), value);
|
|
|
| if (!target || !target->executionContext())
|
| return;
|
|
|