Index: Source/core/html/InputType.cpp |
diff --git a/Source/core/html/InputType.cpp b/Source/core/html/InputType.cpp |
index 8b2ebc389b867ec04db0da4fa685a01667983a8a..9696317adab4c7b67519d04bdb84b585c5da5fb5 100644 |
--- a/Source/core/html/InputType.cpp |
+++ b/Source/core/html/InputType.cpp |
@@ -396,7 +396,7 @@ void InputType::destroyShadowSubtree() |
// FIXME: Remove the PasswordGeneratorButtonElement's shadow root and then remove this loop. |
while ((root = root->youngerShadowRoot())) { |
root->removeChildren(); |
- root->appendChild(HTMLShadowElement::create(shadowTag, &element()->document())); |
+ root->appendChild(HTMLShadowElement::create(shadowTag, element()->document())); |
} |
} |