Index: Source/modules/credentialmanager/PasswordCredential.h |
diff --git a/Source/modules/credentialmanager/PasswordCredential.h b/Source/modules/credentialmanager/PasswordCredential.h |
index dded5dfc3a3a4add8821d35f8c27668e6a1c3520..13e2b346c434dbc83da6e14d24466f43af2ed9a4 100644 |
--- a/Source/modules/credentialmanager/PasswordCredential.h |
+++ b/Source/modules/credentialmanager/PasswordCredential.h |
@@ -14,6 +14,7 @@ |
namespace blink { |
class DOMFormData; |
+class FormDataOptions; |
class WebPasswordCredential; |
class PasswordCredential final : public Credential { |
@@ -33,8 +34,7 @@ public: |
static PasswordCredential* create(WebPasswordCredential*); |
// PasswordCredential.idl |
- const String& password() const; |
- DOMFormData* formData() const { return m_formData; } |
+ DOMFormData* toFormData(ScriptState*, const FormDataOptions&); |
DECLARE_VIRTUAL_TRACE(); |
@@ -42,7 +42,7 @@ private: |
PasswordCredential(WebPasswordCredential*); |
PasswordCredential(const String& id, const String& password, const String& name, const KURL& icon); |
- Member<DOMFormData> m_formData; |
+ const String& password() const; |
}; |
} // namespace blink |