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

Unified Diff: public/web/WebNodeCollection.h

Issue 137433008: Have HTMLCollection::item() return an Element as per specification (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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/WebPageSerializerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNodeCollection.h
diff --git a/public/web/WebNodeCollection.h b/public/web/WebNodeCollection.h
index d2f0465ab1521f7af284546ab4e45621f770d115..74938791fb4570b66fe44698203673454f8d29ec 100644
--- a/public/web/WebNodeCollection.h
+++ b/public/web/WebNodeCollection.h
@@ -39,7 +39,7 @@ namespace WTF { template <typename T> class PassRefPtr; }
#endif
namespace blink {
-class WebNode;
+class WebElement;
// Provides readonly access to some properties of a DOM node.
class WebNodeCollection {
@@ -60,8 +60,8 @@ public:
BLINK_EXPORT void assign(const WebNodeCollection&);
BLINK_EXPORT unsigned length() const;
- BLINK_EXPORT WebNode nextItem() const;
- BLINK_EXPORT WebNode firstItem() const;
+ BLINK_EXPORT WebElement nextItem() const;
+ BLINK_EXPORT WebElement firstItem() const;
#if BLINK_IMPLEMENTATION
WebNodeCollection(const WTF::PassRefPtr<WebCore::HTMLCollection>&);
« no previous file with comments | « Source/web/WebPageSerializerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698