Index: Source/core/events/EventTarget.cpp |
diff --git a/Source/core/events/EventTarget.cpp b/Source/core/events/EventTarget.cpp |
index 895e6076e9e572e2a9e3277216f8b2fbbfdbe1c1..61084c36208b4a678a6ef7a595ddd771cad24473 100644 |
--- a/Source/core/events/EventTarget.cpp |
+++ b/Source/core/events/EventTarget.cpp |
@@ -35,12 +35,12 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/V8DOMActivityLogger.h" |
#include "core/dom/ExceptionCode.h" |
-#include "core/dom/NoEventDispatchAssertion.h" |
#include "core/editing/Editor.h" |
#include "core/events/Event.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/frame/UseCounter.h" |
+#include "platform/EventDispatchForbiddenScope.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "wtf/StdLibExtras.h" |
#include "wtf/Vector.h" |
@@ -258,7 +258,7 @@ void EventTarget::countLegacyEvents(const AtomicString& legacyTypeName, EventLis |
bool EventTarget::fireEventListeners(Event* event) |
{ |
- ASSERT(!NoEventDispatchAssertion::isEventDispatchForbidden()); |
+ ASSERT(!EventDispatchForbiddenScope::isEventDispatchForbidden()); |
ASSERT(event && !event->type().isEmpty()); |
EventTargetData* d = eventTargetData(); |