Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 2969141df7194bf5aff4338d959ad7d23ab325dd..651f570459b6ad2d3133edcd1cbf1d66a0968113 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -394,7 +394,7 @@ void FrameSelection::respondToNodeModification(Node& node, bool baseRemoved, boo |
m_selection.setWithoutValidation(m_selection.start(), m_selection.end()); |
else |
m_selection.setWithoutValidation(m_selection.end(), m_selection.start()); |
- } else if (m_selection.intersectsNode(&node)) { |
+ } else if (intersectsNode(m_selection, &node)) { |
// If we did nothing here, when this node's layoutObject was destroyed, the rect that it |
// occupied would be invalidated, but, selection gaps that change as a result of |
// the removal wouldn't be invalidated. |