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

Unified Diff: Source/modules/credentialmanager/PasswordCredential.cpp

Issue 1325893005: Rename DOMFormData to FormData. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
Index: Source/modules/credentialmanager/PasswordCredential.cpp
diff --git a/Source/modules/credentialmanager/PasswordCredential.cpp b/Source/modules/credentialmanager/PasswordCredential.cpp
index 3f7624a4b113b404815e366c882174a34c0a698a..a9286651f98cfe6734b13ac031996391c0b61b41 100644
--- a/Source/modules/credentialmanager/PasswordCredential.cpp
+++ b/Source/modules/credentialmanager/PasswordCredential.cpp
@@ -8,7 +8,7 @@
#include "bindings/core/v8/Dictionary.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExecutionContext.h"
-#include "core/html/DOMFormData.h"
+#include "core/html/FormData.h"
#include "modules/credentialmanager/FormDataOptions.h"
#include "modules/credentialmanager/PasswordCredentialData.h"
#include "platform/credentialmanager/PlatformPasswordCredential.h"
@@ -41,9 +41,9 @@ PasswordCredential::PasswordCredential(const String& id, const String& password,
{
}
-DOMFormData* PasswordCredential::toFormData(ScriptState* scriptState, const FormDataOptions& options)
+FormData* PasswordCredential::toFormData(ScriptState* scriptState, const FormDataOptions& options)
{
- DOMFormData* fd = DOMFormData::create();
+ FormData* fd = FormData::create();
String errorMessage;
if (!scriptState->executionContext()->isPrivilegedContext(errorMessage))
« no previous file with comments | « Source/modules/credentialmanager/PasswordCredential.h ('k') | Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698