Index: Source/core/html/forms/InputType.h |
diff --git a/Source/core/html/forms/InputType.h b/Source/core/html/forms/InputType.h |
index e03b962dec57a36243fedb94511606f3fd70b1d9..56fb69fb6afdc433ca25ff591c6d9e2c661df094 100644 |
--- a/Source/core/html/forms/InputType.h |
+++ b/Source/core/html/forms/InputType.h |
@@ -58,8 +58,8 @@ class InputType : public InputTypeView { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*, const AtomicString&); |
- static PassRefPtr<InputType> createText(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&, const AtomicString&); |
+ static PassRefPtr<InputType> createText(HTMLInputElement&); |
static const AtomicString& normalizeTypeName(const AtomicString&); |
virtual ~InputType(); |
@@ -239,7 +239,7 @@ public: |
virtual bool hasCustomFocusLogic() const OVERRIDE; |
protected: |
- InputType(HTMLInputElement* element) : InputTypeView(element) { } |
+ InputType(HTMLInputElement& element) : InputTypeView(element) { } |
Chrome* chrome() const; |
Locale& locale() const; |
Decimal parseToNumberOrNaN(const String&) const; |