| Index: third_party/WebKit/Source/bindings/core/v8/V8EventListenerHelper.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerHelper.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerHelper.cpp
|
| index 198b07f0769d7698112ac98e8e21f05142080d21..0e8691d0c6c675a3cfab30029efc7eb8375c5b7b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerHelper.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerHelper.cpp
|
| @@ -47,7 +47,7 @@ EventListener* V8EventListenerHelper::getEventListener(
|
| DCHECK(!isAttribute);
|
| return V8EventListenerHelper::existingEventListener(value, scriptState);
|
| }
|
| - if (toDOMWindow(scriptState->context()))
|
| + if (toLocalDOMWindow(scriptState->context()))
|
| return V8EventListenerHelper::ensureEventListener<V8EventListener>(
|
| value, isAttribute, scriptState);
|
| return V8EventListenerHelper::ensureEventListener<
|
|
|