Index: Source/core/html/shadow/PasswordGeneratorButtonElement.h |
diff --git a/Source/core/html/shadow/PasswordGeneratorButtonElement.h b/Source/core/html/shadow/PasswordGeneratorButtonElement.h |
index 3a3d7c1c2143557ffef0fd469c182f01e8094884..e0853ead16caab80c42fdbd5f9369b4ffac4c8bf 100644 |
--- a/Source/core/html/shadow/PasswordGeneratorButtonElement.h |
+++ b/Source/core/html/shadow/PasswordGeneratorButtonElement.h |
@@ -42,7 +42,7 @@ class ShadowRoot; |
class PasswordGeneratorButtonElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<PasswordGeneratorButtonElement> create(Document* document) |
+ static PassRefPtr<PasswordGeneratorButtonElement> create(Document& document) |
{ |
return adoptRef(new PasswordGeneratorButtonElement(document)); |
} |
@@ -53,7 +53,7 @@ public: |
virtual bool willRespondToMouseClickEvents() OVERRIDE; |
private: |
- PasswordGeneratorButtonElement(Document*); |
+ PasswordGeneratorButtonElement(Document&); |
virtual bool isPasswordGeneratorButtonElement() const OVERRIDE { return true; } |
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; |
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |