Index: third_party/WebKit/Source/core/events/EventTarget.cpp |
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp |
index 8ced267d8478712e378c3ddde7b5b95981c2825a..5526aa5b7c33d68b1fbfbc7c2a215db053ee570a 100644 |
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp |
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp |
@@ -249,10 +249,6 @@ bool EventTarget::clearAttributeEventListener(const AtomicString& eventType) |
bool EventTarget::dispatchEventForBindings(PassRefPtrWillBeRawPtr<Event> event, ExceptionState& exceptionState) |
{ |
- if (!event) { |
- exceptionState.throwDOMException(InvalidStateError, "The event provided is null."); |
- return false; |
- } |
if (event->type().isEmpty()) { |
exceptionState.throwDOMException(InvalidStateError, "The event provided is uninitialized."); |
return false; |