Index: Source/core/html/forms/ColorInputType.h |
diff --git a/Source/core/html/forms/ColorInputType.h b/Source/core/html/forms/ColorInputType.h |
index 3d7340f37e101ee5dfe11c1a3ec22638f4e305e7..5c65c2bd733ed3a58d686ff7365c14451e7f2eeb 100644 |
--- a/Source/core/html/forms/ColorInputType.h |
+++ b/Source/core/html/forms/ColorInputType.h |
@@ -38,7 +38,7 @@ namespace WebCore { |
class ColorInputType : public BaseClickableWithKeyInputType, public ColorChooserClient { |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&); |
virtual ~ColorInputType(); |
// ColorChooserClient implementation. |
@@ -50,7 +50,7 @@ public: |
virtual Vector<Color> suggestions() const OVERRIDE; |
private: |
- ColorInputType(HTMLInputElement* element) : BaseClickableWithKeyInputType(element) { } |
+ ColorInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { } |
virtual void countUsage() OVERRIDE; |
virtual bool isColorControl() const OVERRIDE; |
virtual const AtomicString& formControlType() const OVERRIDE; |