Index: Source/core/dom/NodeRenderingTraversal.h |
diff --git a/Source/core/dom/NodeRenderingTraversal.h b/Source/core/dom/NodeRenderingTraversal.h |
index 33ec60d8378315f8fbfed9fa03443b13546d6363..d4dc7eb89382d085562329926ad9929d300b9da6 100644 |
--- a/Source/core/dom/NodeRenderingTraversal.h |
+++ b/Source/core/dom/NodeRenderingTraversal.h |
@@ -67,8 +67,7 @@ RenderObject* nextInTopLayer(const Element*); |
inline Element* parentElement(const Node* node) |
{ |
- ParentDetails unusedDetails; |
- Node* found = parent(node, &unusedDetails); |
+ ContainerNode* found = parent(node); |
return found && found->isElementNode() ? toElement(found) : 0; |
} |