| Index: Source/bindings/v8/V8EventListenerList.cpp
|
| diff --git a/Source/bindings/v8/V8EventListenerList.cpp b/Source/bindings/v8/V8EventListenerList.cpp
|
| index 23565caa42e4a519dc886ce066651f5d4a72a343..3acff6ef3ec35fa783b1ddee2fbd502bf310d5d5 100644
|
| --- a/Source/bindings/v8/V8EventListenerList.cpp
|
| +++ b/Source/bindings/v8/V8EventListenerList.cpp
|
| @@ -45,8 +45,8 @@ PassRefPtr<EventListener> V8EventListenerList::getEventListener(v8::Local<v8::Va
|
| if (lookup == ListenerFindOnly)
|
| return V8EventListenerList::findWrapper(value, isAttribute);
|
| if (V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8Window::info))
|
| - return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute);
|
| - return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute);
|
| + return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, context->GetIsolate());
|
| + return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute, context->GetIsolate());
|
| }
|
|
|
| } // namespace WebCore
|
|
|