Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 167350780e11e7f52eef73afd1162b52962def6b..5c0f88ee4a3d8a0d365b46fcd01fb9e373a48603 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5348,7 +5348,7 @@ void Document::updateHoverActiveState(const HitTestRequest& request, Element* in |
if (oldActiveElement && !request.active()) { |
// The oldActiveElement layoutObject is null, dropped on :active by setting display: none, |
// for instance. We still need to clear the ActiveChain as the mouse is released. |
- for (RefPtr<Node> node = oldActiveElement; node; node = ComposedTreeTraversal::parent(*node)) { |
+ for (RefPtrWillBeRawPtr<Node> node = oldActiveElement; node; node = ComposedTreeTraversal::parent(*node)) { |
ASSERT(!node->isTextNode()); |
node->setActive(false); |
m_userActionElements.setInActiveChain(node.get(), false); |