Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 4315ab30238de60418445f05796eaf54c5012be0..7b4a386220b2428d7f9dee914d066a751a806b87 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -329,6 +329,7 @@ void FrameSelection::nodeWillBeRemoved(Node& node) |
void FrameSelection::respondToNodeModification(Node& node, bool baseRemoved, bool extentRemoved, bool startRemoved, bool endRemoved) |
{ |
ASSERT(node.document().isActive()); |
+ TempRangeScope scope; |
bool clearRenderTreeSelection = false; |
bool clearDOMTreeSelection = false; |