Index: Source/web/WebNodeCollection.cpp |
diff --git a/Source/web/WebNodeCollection.cpp b/Source/web/WebNodeCollection.cpp |
index 1715730473d822a39be3283c2f41dc4ee3b24766..719006456952aa1d7cffbddad11d7374a8e89cc1 100644 |
--- a/Source/web/WebNodeCollection.cpp |
+++ b/Source/web/WebNodeCollection.cpp |
@@ -74,10 +74,10 @@ unsigned WebNodeCollection::length() const |
WebNode WebNodeCollection::nextItem() const |
Inactive
2014/02/03 21:33:09
adamk, what do you think about updating nextItem()
|
{ |
- Node* node = m_private->item(m_current); |
- if (node) |
+ Element* element = m_private->item(m_current); |
+ if (element) |
m_current++; |
- return WebNode(node); |
+ return WebNode(element); |
} |
WebNode WebNodeCollection::firstItem() const |