Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 9dbf090293708e393e4934f0511144bbf3b265c0..a60ab1066dc6397bd53968cd33290eb1a54ee621 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3499,6 +3499,7 @@ void Document::updateRangesAfterChildrenChanged(ContainerNode* container) |
void Document::nodeChildrenWillBeRemoved(ContainerNode* container) |
{ |
+ NoEventDispatchAssertion assertNoEventDispatch; |
if (!m_ranges.isEmpty()) { |
HashSet<Range*>::const_iterator end = m_ranges.end(); |
for (HashSet<Range*>::const_iterator it = m_ranges.begin(); it != end; ++it) |