Index: Source/core/html/forms/PasswordInputType.h |
diff --git a/Source/core/html/forms/PasswordInputType.h b/Source/core/html/forms/PasswordInputType.h |
index b88959f72e703c5cd39cbadaedaaa1983d9b622d..fa283712c7d8234c572a126dc07662209521f1fb 100644 |
--- a/Source/core/html/forms/PasswordInputType.h |
+++ b/Source/core/html/forms/PasswordInputType.h |
@@ -38,10 +38,10 @@ namespace WebCore { |
class PasswordInputType FINAL : public BaseTextInputType { |
public: |
- static PassRefPtr<InputType> create(HTMLInputElement*); |
+ static PassRefPtr<InputType> create(HTMLInputElement&); |
private: |
- PasswordInputType(HTMLInputElement* element) : BaseTextInputType(element) { } |
+ PasswordInputType(HTMLInputElement& element) : BaseTextInputType(element) { } |
virtual HTMLElement* passwordGeneratorButtonElement() const OVERRIDE; |
virtual bool needsContainer() const OVERRIDE; |
virtual void createShadowSubtree() OVERRIDE; |