Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2411)

Unified Diff: Source/web/WebNode.cpp

Issue 152243003: Rename WebNodeCollection to WebElementCollection for clarity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebInputElement.cpp ('k') | Source/web/WebNodeCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/web/WebInputElement.cpp ('k') | Source/web/WebNodeCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698