Index: Source/core/html/PasswordInputType.cpp |
diff --git a/Source/core/html/PasswordInputType.cpp b/Source/core/html/PasswordInputType.cpp |
index 717b62a56d1105750d3248c3dc5768bc6058ff00..ddad94250e74b5eae90a6741970feef8acd8cef1 100644 |
--- a/Source/core/html/PasswordInputType.cpp |
+++ b/Source/core/html/PasswordInputType.cpp |
@@ -69,7 +69,7 @@ void PasswordInputType::createShadowSubtree() |
{ |
BaseTextInputType::createShadowSubtree(); |
if (isPasswordGenerationEnabled()) { |
- m_generatorButton = PasswordGeneratorButtonElement::create(&element()->document()); |
+ m_generatorButton = PasswordGeneratorButtonElement::create(element()->document()); |
m_generatorButton->decorate(element()); |
} |
} |