| Index: sky/engine/bindings/core/v8/V8EventListenerList.cpp
|
| diff --git a/sky/engine/bindings/core/v8/V8EventListenerList.cpp b/sky/engine/bindings/core/v8/V8EventListenerList.cpp
|
| index a4c9a6fc26c0bc487ffe0a8f85b56d5b997d039c..45a6072325d9aca313da1abc8a6582135d3cad9f 100644
|
| --- a/sky/engine/bindings/core/v8/V8EventListenerList.cpp
|
| +++ b/sky/engine/bindings/core/v8/V8EventListenerList.cpp
|
| @@ -36,18 +36,17 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scriptState, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
|
| +PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scriptState, v8::Local<v8::Value> value, ListenerLookupType lookup)
|
| {
|
| ASSERT(!scriptState->contextIsEmpty());
|
| if (lookup == ListenerFindOnly) {
|
| // Used by EventTarget::removeEventListener, specifically
|
| // EventTargetV8Internal::removeEventListenerMethod
|
| - ASSERT(!isAttribute);
|
| return V8EventListenerList::findWrapper(value, scriptState);
|
| }
|
|
|
| if (toDOMWindow(scriptState->context()))
|
| - return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, scriptState);
|
| + return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, scriptState);
|
|
|
| ASSERT_NOT_REACHED();
|
| return nullptr;
|
|
|