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

Unified Diff: Source/core/html/HTMLFormControlElement.cpp

Issue 20986003: Define DOM_KEY_LOCATION_* constants on KeyboardEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/core/html/HTMLFormControlElement.cpp
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
index 29a6c6a42fc0a648e7c08183bcf4a9ab7f71fe89..918de5336198db04672d5ee2e71eba9c4701df16 100644
--- a/Source/core/html/HTMLFormControlElement.cpp
+++ b/Source/core/html/HTMLFormControlElement.cpp
@@ -71,7 +71,7 @@ String HTMLFormControlElement::formEnctype() const
{
const AtomicString& formEnctypeAttr = fastGetAttribute(formenctypeAttr);
if (formEnctypeAttr.isNull())
- return emptyString();
+ return ASCIILiteral("application/x-www-form-urlencoded");
Mike West 2013/07/29 12:40:24 This seems like an unrelated change. Would you min
do-not-use 2013/07/29 12:49:11 Unclean working copy. Thanks for catching it.
return FormSubmission::Attributes::parseEncodingType(formEnctypeAttr);
}

Powered by Google App Engine
This is Rietveld 408576698