Index: Source/core/html/HTMLKeygenElement.cpp |
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp |
index 60686131dec18114ce5dc8189ddcaa1ff43ee481..61a304b7384c8cd8a222c248dacce58d4326e0d3 100644 |
--- a/Source/core/html/HTMLKeygenElement.cpp |
+++ b/Source/core/html/HTMLKeygenElement.cpp |
@@ -62,7 +62,7 @@ void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
select->setPart(keygenSelectPseudoId); |
for (size_t i = 0; i < keys.size(); ++i) { |
RefPtr<HTMLOptionElement> option = HTMLOptionElement::create(document()); |
- option->appendChild(Text::create(&document(), keys[i])); |
+ option->appendChild(Text::create(document(), keys[i])); |
select->appendChild(option); |
} |