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

Unified Diff: Source/web/WebDocument.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 | « no previous file | Source/web/WebElementCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index 884fb2b56728d3263aad6e422a09a91db15d2140..6795585f838b101b4ed17d56ba2541dec6fb62be 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -35,9 +35,9 @@
#include "WebDOMEvent.h"
#include "WebDocumentType.h"
#include "WebElement.h"
+#include "WebElementCollection.h"
#include "WebFormElement.h"
#include "WebFrameImpl.h"
-#include "WebNodeCollection.h"
#include "WebNodeList.h"
#include "bindings/v8/Dictionary.h"
#include "bindings/v8/ExceptionState.h"
@@ -152,9 +152,9 @@ WebString WebDocument::title() const
return WebString(constUnwrap<Document>()->title());
}
-WebNodeCollection WebDocument::all()
+WebElementCollection WebDocument::all()
{
- return WebNodeCollection(unwrap<Document>()->all());
+ return WebElementCollection(unwrap<Document>()->all());
}
void WebDocument::images(WebVector<WebElement>& results)
« no previous file with comments | « no previous file | Source/web/WebElementCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698