Index: Source/bindings/core/v8/V8EventListenerList.cpp |
diff --git a/Source/bindings/core/v8/V8EventListenerList.cpp b/Source/bindings/core/v8/V8EventListenerList.cpp |
index 94e70f410f054a0779c177eaa78a3582ee744386..bd3e83c559b010a4cfe88e9250df8c191c8d9ca3 100644 |
--- a/Source/bindings/core/v8/V8EventListenerList.cpp |
+++ b/Source/bindings/core/v8/V8EventListenerList.cpp |
@@ -39,7 +39,7 @@ namespace blink { |
PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scriptState, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup) |
{ |
- ASSERT(!scriptState->contextIsValid()); |
+ ASSERT(scriptState->contextIsValid()); |
if (lookup == ListenerFindOnly) { |
// Used by EventTarget::removeEventListener, specifically |
// EventTargetV8Internal::removeEventListenerMethod |