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

Unified Diff: Source/core/html/HTMLFormElement.h

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 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
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index 6c63e6f1141392aceab16768d64de6067ddb41b4..818bf0a983cbd066e0ef2e814eb67276aeabc4df 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -26,6 +26,7 @@
#include "core/html/HTMLElement.h"
#include "core/html/HTMLFormControlElement.h"
+#include "core/html/HTMLFormControlsCollection.h"
#include "core/html/forms/RadioButtonGroupScope.h"
#include "core/loader/FormSubmission.h"
#include "wtf/OwnPtr.h"
@@ -51,7 +52,7 @@ public:
virtual ~HTMLFormElement();
virtual void trace(Visitor*) OVERRIDE;
- PassRefPtrWillBeRawPtr<HTMLCollection> elements();
+ PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements();
void getNamedElements(const AtomicString&, WillBeHeapVector<RefPtrWillBeMember<Element> >&);
unsigned length() const;

Powered by Google App Engine
This is Rietveld 408576698