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

Unified Diff: Source/WebCore/html/shadow/DateTimeFieldElements.cpp

Issue 12090060: Merge 140788 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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/WebCore/html/shadow/DateTimeFieldElements.cpp
===================================================================
--- Source/WebCore/html/shadow/DateTimeFieldElements.cpp (revision 141196)
+++ Source/WebCore/html/shadow/DateTimeFieldElements.cpp (working copy)
@@ -134,7 +134,7 @@
return;
}
- const int value = DateTimeNumericFieldElement::valueAsInteger();
+ const int value = valueAsInteger();
switch (maximum()) {
case 11:
@@ -210,11 +210,6 @@
DateTimeNumericFieldElement::setValueAsInteger(range().minimum && !value ? m_alignment : value, eventBehavior);
}
-int DateTimeHourFieldElement::valueAsInteger() const
-{
- return hasValue() ? DateTimeNumericFieldElement::valueAsInteger() % m_alignment : -1;
-}
-
// ----------------------------
DateTimeMillisecondFieldElement::DateTimeMillisecondFieldElement(Document* document, FieldOwner& fieldOwner, const DateTimeNumericFieldElement::Parameters& parameters)
« no previous file with comments | « Source/WebCore/html/shadow/DateTimeFieldElements.h ('k') | Source/WebCore/html/shadow/DateTimeNumericFieldElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698