Index: Source/core/html/forms/ResetInputType.h |
diff --git a/Source/core/html/forms/ResetInputType.h b/Source/core/html/forms/ResetInputType.h |
index b467c82ccc2b44a0402ca6faaf8e653b226fe814..8837400b86e3a4973d25d4e0ab44b99085949b78 100644 |
--- a/Source/core/html/forms/ResetInputType.h |
+++ b/Source/core/html/forms/ResetInputType.h |
@@ -37,10 +37,10 @@ namespace WebCore { |
class ResetInputType : public BaseButtonInputType { |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&); |
private: |
- ResetInputType(HTMLInputElement* element) : BaseButtonInputType(element) { } |
+ ResetInputType(HTMLInputElement& element) : BaseButtonInputType(element) { } |
virtual const AtomicString& formControlType() const OVERRIDE; |
virtual bool supportsValidation() const OVERRIDE; |
virtual void handleDOMActivateEvent(Event*) OVERRIDE; |