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

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

Issue 12079062: Merge 140791 (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/DateTimeNumericFieldElement.cpp
===================================================================
--- Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp (revision 141197)
+++ Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp (working copy)
@@ -162,14 +162,14 @@
return m_hasValue;
}
-int DateTimeNumericFieldElement::maximum() const
+void DateTimeNumericFieldElement::initialize(const AtomicString& pseudo, const String& axHelpText)
{
- return m_range.maximum;
+ DateTimeFieldElement::initialize(pseudo, axHelpText, m_range.minimum, m_range.maximum);
}
-int DateTimeNumericFieldElement::minimum() const
+int DateTimeNumericFieldElement::maximum() const
{
- return m_range.minimum;
+ return m_range.maximum;
}
void DateTimeNumericFieldElement::setEmptyValue(EventBehavior eventBehavior)
« no previous file with comments | « Source/WebCore/html/shadow/DateTimeNumericFieldElement.h ('k') | Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698