Index: Source/core/html/forms/DateInputType.h |
diff --git a/Source/core/html/forms/DateInputType.h b/Source/core/html/forms/DateInputType.h |
index 2688adf1d93b64a9f3db54063d0804d77b52472a..0e5abecce660c6a0d71e4e4a39c0e2f8ab77dd3b 100644 |
--- a/Source/core/html/forms/DateInputType.h |
+++ b/Source/core/html/forms/DateInputType.h |
@@ -44,7 +44,7 @@ typedef BaseMultipleFieldsDateAndTimeInputType BaseDateInputType; |
typedef BaseChooserOnlyDateAndTimeInputType BaseDateInputType; |
#endif |
-class DateInputType : public BaseDateInputType { |
+class DateInputType FINAL : public BaseDateInputType { |
public: |
static PassRefPtr<InputType> create(HTMLInputElement&); |
@@ -61,7 +61,7 @@ private: |
// BaseMultipleFieldsDateAndTimeInputType functions |
virtual String formatDateTimeFieldsState(const DateTimeFieldsState&) const OVERRIDE; |
virtual void setupLayoutParameters(DateTimeEditElement::LayoutParameters&, const DateComponents&) const OVERRIDE; |
- virtual bool isValidFormat(bool hasYear, bool hasMonth, bool hasWeek, bool hasDay, bool hasAMPM, bool hasHour, bool hasMinute, bool hasSecond) const; |
+ virtual bool isValidFormat(bool hasYear, bool hasMonth, bool hasWeek, bool hasDay, bool hasAMPM, bool hasHour, bool hasMinute, bool hasSecond) const OVERRIDE; |
#endif |
}; |