Index: Source/core/html/HTMLNameCollection.cpp |
diff --git a/Source/core/html/HTMLNameCollection.cpp b/Source/core/html/HTMLNameCollection.cpp |
index 47e30ed892adb4f0f1308be47c59904e1f54093c..1dc5242539e21b70e6ac34e5767da4c6ec5db638 100644 |
--- a/Source/core/html/HTMLNameCollection.cpp |
+++ b/Source/core/html/HTMLNameCollection.cpp |
@@ -54,7 +54,7 @@ Element* HTMLNameCollection::virtualItemAfter(unsigned& offsetInArray, Element* |
Element* current; |
if (!previous) |
- current = ElementTraversal::firstWithin(ownerNode()); |
+ current = ElementTraversal::firstWithin(*ownerNode()); |
else |
current = ElementTraversal::next(*previous, ownerNode()); |