Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index ec9ef828bde0efc37145e99e28428bd4c3f033ac..a0ab1e1961e1c048c0f4d6529f8ccd5e017b86e8 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -364,9 +364,9 @@ void EventHandler::clear() |
m_mouseDownMayStartDrag = false; |
} |
-void EventHandler::nodeWillBeRemoved(Node* nodeToBeRemoved) |
+void EventHandler::nodeWillBeRemoved(Node& nodeToBeRemoved) |
{ |
- if (nodeToBeRemoved->contains(m_clickNode.get())) |
+ if (nodeToBeRemoved.contains(m_clickNode.get())) |
m_clickNode = 0; |
} |