Index: Source/core/html/forms/BaseDateAndTimeInputType.h |
diff --git a/Source/core/html/forms/BaseDateAndTimeInputType.h b/Source/core/html/forms/BaseDateAndTimeInputType.h |
index 92610057027328a2c0b81d4b3e0f58f21fe33618..0ce2d0996b683dab5ce39802448510d8d7ef4eb2 100644 |
--- a/Source/core/html/forms/BaseDateAndTimeInputType.h |
+++ b/Source/core/html/forms/BaseDateAndTimeInputType.h |
@@ -41,7 +41,7 @@ class ExceptionState; |
// A super class of date, datetime, datetime-local, month, time, and week types. |
class BaseDateAndTimeInputType : public InputType { |
protected: |
- BaseDateAndTimeInputType(HTMLInputElement* element) : InputType(element) { } |
+ BaseDateAndTimeInputType(HTMLInputElement& element) : InputType(element) { } |
virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE; |
virtual bool parseToDateComponents(const String&, DateComponents*) const OVERRIDE; |
virtual String sanitizeValue(const String&) const OVERRIDE; |