Index: third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
index dc627e982186c5a39b50bad9f2b209cdb43093ab..17cc39ad98e850bda95a1ba9f4b17bb25e8894eb 100644 |
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
@@ -9,9 +9,9 @@ |
#include "core/HTMLNames.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/dom/URLSearchParams.h" |
-#include "core/html/FormAssociatedElement.h" |
#include "core/html/FormData.h" |
#include "core/html/HTMLFormElement.h" |
+#include "core/html/ListedElement.h" |
#include "modules/credentialmanager/FormDataOptions.h" |
#include "modules/credentialmanager/PasswordCredentialData.h" |
#include "platform/credentialmanager/PlatformPasswordCredential.h" |
@@ -56,7 +56,7 @@ PasswordCredential* PasswordCredential::create(HTMLFormElement* form, |
AtomicString idName; |
AtomicString passwordName; |
- for (FormAssociatedElement* element : form->associatedElements()) { |
+ for (ListedElement* element : form->listedElements()) { |
// If |element| isn't a "submittable element" with string data, then it |
// won't have a matching value in |formData|, and we can safely skip it. |
FileOrUSVString result; |