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

Unified Diff: Source/web/WebFormElement.cpp

Issue 148013008: Use stricter typing for HTMLCollection named getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/core/html/HTMLOptionsCollection.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFormElement.cpp
diff --git a/Source/web/WebFormElement.cpp b/Source/web/WebFormElement.cpp
index c4b96f3c64fd9d89b18ee391d4926e7bca7cce9c..43a014d634261decac179216bde15e90f392f786 100644
--- a/Source/web/WebFormElement.cpp
+++ b/Source/web/WebFormElement.cpp
@@ -79,7 +79,7 @@ void WebFormElement::submit()
void WebFormElement::getNamedElements(const WebString& name,
WebVector<WebNode>& result)
{
- Vector<RefPtr<Node> > tempVector;
+ Vector<RefPtr<Element> > tempVector;
unwrap<HTMLFormElement>()->getNamedElements(name, tempVector);
result.assign(tempVector);
}
« no previous file with comments | « Source/core/html/HTMLOptionsCollection.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698