| Index: Source/core/dom/Element.cpp
 | 
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
 | 
| index 290f998146c07346171f9e3a57a6e38c9eda8ce4..f692175b484d1ff422d3dad38cf101c981babf39 100644
 | 
| --- a/Source/core/dom/Element.cpp
 | 
| +++ b/Source/core/dom/Element.cpp
 | 
| @@ -57,7 +57,6 @@
 | 
|  #include "core/dom/MutationObserverInterestGroup.h"
 | 
|  #include "core/dom/MutationRecord.h"
 | 
|  #include "core/dom/NamedNodeMap.h"
 | 
| -#include "core/dom/NoEventDispatchAssertion.h"
 | 
|  #include "core/dom/NodeRenderStyle.h"
 | 
|  #include "core/dom/PresentationAttributeStyle.h"
 | 
|  #include "core/dom/PseudoElement.h"
 | 
| @@ -105,6 +104,7 @@
 | 
|  #include "core/rendering/compositing/RenderLayerCompositor.h"
 | 
|  #include "core/svg/SVGDocumentExtensions.h"
 | 
|  #include "core/svg/SVGElement.h"
 | 
| +#include "platform/EventDispatchForbiddenScope.h"
 | 
|  #include "platform/RuntimeEnabledFeatures.h"
 | 
|  #include "platform/UserGestureIndicator.h"
 | 
|  #include "platform/scroll/ScrollableArea.h"
 | 
| @@ -2175,14 +2175,14 @@ void Element::dispatchBlurEvent(Element* newFocusedElement)
 | 
|  
 | 
|  void Element::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement)
 | 
|  {
 | 
| -    ASSERT(!NoEventDispatchAssertion::isEventDispatchForbidden());
 | 
| +    ASSERT(!EventDispatchForbiddenScope::isEventDispatchForbidden());
 | 
|      ASSERT(eventType == EventTypeNames::focusin || eventType == EventTypeNames::DOMFocusIn);
 | 
|      dispatchScopedEventDispatchMediator(FocusInEventDispatchMediator::create(FocusEvent::create(eventType, true, false, document().domWindow(), 0, oldFocusedElement)));
 | 
|  }
 | 
|  
 | 
|  void Element::dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocusedElement)
 | 
|  {
 | 
| -    ASSERT(!NoEventDispatchAssertion::isEventDispatchForbidden());
 | 
| +    ASSERT(!EventDispatchForbiddenScope::isEventDispatchForbidden());
 | 
|      ASSERT(eventType == EventTypeNames::focusout || eventType == EventTypeNames::DOMFocusOut);
 | 
|      dispatchScopedEventDispatchMediator(FocusOutEventDispatchMediator::create(FocusEvent::create(eventType, true, false, document().domWindow(), 0, newFocusedElement)));
 | 
|  }
 | 
| 
 |