Index: Source/core/editing/UndoStack.cpp |
diff --git a/Source/core/editing/UndoStack.cpp b/Source/core/editing/UndoStack.cpp |
index 1b1e492111f954f137a47c7829667695950bd457..3c6680de8862892d24264dc8aeb0971307883ce8 100644 |
--- a/Source/core/editing/UndoStack.cpp |
+++ b/Source/core/editing/UndoStack.cpp |
@@ -28,8 +28,8 @@ |
#include "core/editing/UndoStack.h" |
#include "core/dom/ContainerNode.h" |
-#include "core/dom/NoEventDispatchAssertion.h" |
#include "core/editing/UndoStep.h" |
+#include "platform/EventDispatchForbiddenScope.h" |
#include "wtf/TemporaryChange.h" |
namespace blink { |
@@ -68,7 +68,7 @@ void UndoStack::registerRedoStep(PassRefPtrWillBeRawPtr<UndoStep> step) |
void UndoStack::didUnloadFrame(const LocalFrame& frame) |
{ |
- NoEventDispatchAssertion assertNoEventDispatch; |
+ EventDispatchForbiddenScope assertNoEventDispatch; |
filterOutUndoSteps(m_undoStack, frame); |
filterOutUndoSteps(m_redoStack, frame); |
} |