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

Unified Diff: Source/core/html/forms/MonthInputType.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/MonthInputType.h ('k') | Source/core/html/forms/NumberInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/MonthInputType.cpp
diff --git a/Source/core/html/forms/MonthInputType.cpp b/Source/core/html/forms/MonthInputType.cpp
index 11b9f1169b662aceefc9da70e66d82604867e381..e5a6c09006fcc7fd14425b84abae4ba0038c340f 100644
--- a/Source/core/html/forms/MonthInputType.cpp
+++ b/Source/core/html/forms/MonthInputType.cpp
@@ -123,11 +123,6 @@ bool MonthInputType::setMillisecondToDateComponents(double value, DateComponents
return date->setMonthsSinceEpoch(value);
}
-bool MonthInputType::isMonthField() const
-{
- return true;
-}
-
bool MonthInputType::canSetSuggestedValue()
{
return true;
« no previous file with comments | « Source/core/html/forms/MonthInputType.h ('k') | Source/core/html/forms/NumberInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698