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

Unified Diff: Source/core/html/forms/HiddenInputType.cpp

Issue 557613002: Remove a part of type checking predicates of HTMLInputElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/html/forms/HiddenInputType.h ('k') | Source/core/html/forms/ImageInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/HiddenInputType.cpp
diff --git a/Source/core/html/forms/HiddenInputType.cpp b/Source/core/html/forms/HiddenInputType.cpp
index cdb0d4b1b3401493656686f0f83edd1e0250673b..f9232104b6deb673f776d803a2f6e8219b658821 100644
--- a/Source/core/html/forms/HiddenInputType.cpp
+++ b/Source/core/html/forms/HiddenInputType.cpp
@@ -97,11 +97,6 @@ void HiddenInputType::setValue(const String& sanitizedValue, bool, TextFieldEven
element().setAttribute(valueAttr, AtomicString(sanitizedValue));
}
-bool HiddenInputType::isHiddenType() const
-{
- return true;
-}
-
bool HiddenInputType::appendFormData(FormDataList& encoding, bool isMultipartForm) const
{
if (equalIgnoringCase(element().name(), "_charset_")) {
« no previous file with comments | « Source/core/html/forms/HiddenInputType.h ('k') | Source/core/html/forms/ImageInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698