Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 2922e090f00ee72cfbffb0b320d7ae1b239fd22f..1cbe38333f2203c0ec0690ea52d2cc6b11fa5f48 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1939,7 +1939,7 @@ void Node::didMoveToNewDocument(Document& oldDocument) |
} |
oldDocument.markers().removeMarkers(this); |
- |
+ oldDocument.updateRangesAfterNodeMovedToAnotherDocument(*this); |
if (const TouchEventTargetSet* touchHandlers = oldDocument.touchEventTargets()) { |
while (touchHandlers->contains(this)) { |