Index: Source/web/WebNode.cpp |
diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp |
index ba4168ea944a262105a6119d8d94607a364ebe43..780cc6ea179a70a11aa6d6f419cc900baaeb55d3 100644 |
--- a/Source/web/WebNode.cpp |
+++ b/Source/web/WebNode.cpp |
@@ -37,8 +37,8 @@ |
#include "WebDOMEventListener.h" |
#include "WebDocument.h" |
#include "WebElement.h" |
+#include "WebElementCollection.h" |
#include "WebFrameImpl.h" |
-#include "WebNodeCollection.h" |
#include "WebNodeList.h" |
#include "WebPluginContainer.h" |
#include "WebPluginContainerImpl.h" |
@@ -192,11 +192,11 @@ void WebNode::simulateClick() |
m_private->dispatchSimulatedClick(0); |
} |
-WebNodeCollection WebNode::getElementsByTagName(const WebString& tag) const |
+WebElementCollection WebNode::getElementsByTagName(const WebString& tag) const |
{ |
if (m_private->isContainerNode()) |
- return WebNodeCollection(toContainerNode(m_private.get())->getElementsByTagName(tag)); |
- return WebNodeCollection(); |
+ return WebElementCollection(toContainerNode(m_private.get())->getElementsByTagName(tag)); |
+ return WebElementCollection(); |
} |
WebElement WebNode::querySelector(const WebString& tag, WebExceptionCode& ec) const |