| Index: Source/core/dom/Range.cpp
|
| diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp
|
| index 39bf7d695393349c716276472cd21222eae0fceb..68bad1c5c0bdd43f804cbd905718eb4eb27c45b2 100644
|
| --- a/Source/core/dom/Range.cpp
|
| +++ b/Source/core/dom/Range.cpp
|
| @@ -34,12 +34,12 @@
|
| #include "core/dom/NodeTraversal.h"
|
| #include "core/dom/NodeWithIndex.h"
|
| #include "core/dom/ProcessingInstruction.h"
|
| -#include "core/events/ScopedEventQueue.h"
|
| #include "core/dom/Text.h"
|
| #include "core/editing/TextIterator.h"
|
| #include "core/editing/VisiblePosition.h"
|
| #include "core/editing/VisibleUnits.h"
|
| #include "core/editing/markup.h"
|
| +#include "core/events/ScopedEventQueue.h"
|
| #include "core/html/HTMLElement.h"
|
| #include "core/rendering/RenderBoxModelObject.h"
|
| #include "core/rendering/RenderText.h"
|
| @@ -565,7 +565,10 @@ void Range::deleteContents(ExceptionState& exceptionState)
|
| if (exceptionState.hadException())
|
| return;
|
|
|
| - processContents(DELETE_CONTENTS, exceptionState);
|
| + {
|
| + EventQueueScope eventQueueScope;
|
| + processContents(DELETE_CONTENTS, exceptionState);
|
| + }
|
| }
|
|
|
| bool Range::intersectsNode(Node* refNode, ExceptionState& exceptionState)
|
|
|