Index: Source/core/html/forms/CheckboxInputType.h |
diff --git a/Source/core/html/forms/CheckboxInputType.h b/Source/core/html/forms/CheckboxInputType.h |
index 3cef9b921cc404394978b439d1b0b93cee3f722e..9299018f6b5c8c7ecab1f512f3a3cad43d8d43b9 100644 |
--- a/Source/core/html/forms/CheckboxInputType.h |
+++ b/Source/core/html/forms/CheckboxInputType.h |
@@ -37,10 +37,10 @@ namespace WebCore { |
class CheckboxInputType : public BaseCheckableInputType { |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&); |
private: |
- CheckboxInputType(HTMLInputElement* element) : BaseCheckableInputType(element) { } |
+ CheckboxInputType(HTMLInputElement& element) : BaseCheckableInputType(element) { } |
virtual const AtomicString& formControlType() const OVERRIDE; |
virtual bool valueMissing(const String&) const OVERRIDE; |
virtual String valueMissingText() const OVERRIDE; |