Index: Source/core/html/forms/SubmitInputType.h |
diff --git a/Source/core/html/forms/SubmitInputType.h b/Source/core/html/forms/SubmitInputType.h |
index 4a9c58fa65c4995f63ad255f04c67a82398dea0d..ea88704fe9e68acb82d171a470156fce37be6b24 100644 |
--- a/Source/core/html/forms/SubmitInputType.h |
+++ b/Source/core/html/forms/SubmitInputType.h |
@@ -37,10 +37,10 @@ namespace WebCore { |
class SubmitInputType : public BaseButtonInputType { |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&); |
private: |
- SubmitInputType(HTMLInputElement* element) : BaseButtonInputType(element) { } |
+ SubmitInputType(HTMLInputElement& element) : BaseButtonInputType(element) { } |
virtual const AtomicString& formControlType() const OVERRIDE; |
virtual bool appendFormData(FormDataList&, bool) const OVERRIDE; |
virtual bool supportsRequired() const OVERRIDE; |