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 17cc39ad98e850bda95a1ba9f4b17bb25e8894eb..381369edf7b34f2bbe2d4eab37d7470f1f880019 100644 |
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp |
@@ -103,7 +103,7 @@ PasswordCredential* PasswordCredential::create(HTMLFormElement* form, |
if (form->enctype() == "multipart/form-data") { |
additionalData.setFormData(formData); |
} else { |
- URLSearchParams* params = URLSearchParams::create(URLSearchParamsInit()); |
+ URLSearchParams* params = URLSearchParams::create(String()); |
for (const FormData::Entry* entry : formData->entries()) { |
if (entry->isString()) |
params->append(entry->name().data(), entry->value().data()); |
@@ -135,7 +135,7 @@ PassRefPtr<EncodedFormData> PasswordCredential::encodeFormData( |
if (m_additionalData.isURLSearchParams()) { |
// If |additionalData| is a 'URLSearchParams' object, build a urlencoded |
// response. |
- URLSearchParams* params = URLSearchParams::create(URLSearchParamsInit()); |
+ URLSearchParams* params = URLSearchParams::create(String()); |
URLSearchParams* additionalData = m_additionalData.getAsURLSearchParams(); |
for (const auto& param : additionalData->params()) { |
const String& name = param.first; |