Index: third_party/WebKit/Source/core/html/FormData.cpp |
diff --git a/third_party/WebKit/Source/core/html/FormData.cpp b/third_party/WebKit/Source/core/html/FormData.cpp |
index 9f1c8fcd924237a9c49cf70067ddced74c4bebe8..da16236006db20564a4bb289a07d05716bdab0a6 100644 |
--- a/third_party/WebKit/Source/core/html/FormData.cpp |
+++ b/third_party/WebKit/Source/core/html/FormData.cpp |
@@ -84,8 +84,8 @@ FormData::FormData(HTMLFormElement* form) : m_encoding(UTF8Encoding()) { |
if (!form) |
return; |
- for (unsigned i = 0; i < form->associatedElements().size(); ++i) { |
- FormAssociatedElement* element = form->associatedElements()[i]; |
+ for (unsigned i = 0; i < form->listedElements().size(); ++i) { |
+ ListedElement* element = form->listedElements()[i]; |
if (!toHTMLElement(element)->isDisabledFormControl()) |
element->appendToFormData(*this); |
} |