summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLKeygenElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLKeygenElement.cpp')
-rw-r--r--WebCore/html/HTMLKeygenElement.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/html/HTMLKeygenElement.cpp b/WebCore/html/HTMLKeygenElement.cpp
index 5185f51..881a0a8 100644
--- a/WebCore/html/HTMLKeygenElement.cpp
+++ b/WebCore/html/HTMLKeygenElement.cpp
@@ -45,13 +45,14 @@ inline HTMLKeygenElement::HTMLKeygenElement(const QualifiedName& tagName, Docume
{
ASSERT(hasTagName(keygenTag));
+ // FIXME: This markup should go in the shadow tree.
// Add one option element for each key size.
Vector<String> keys;
getSupportedKeySizes(keys);
for (size_t i = 0; i < keys.size(); ++i) {
RefPtr<HTMLOptionElement> option = HTMLOptionElement::create(document, this->form());
- legacyParserAddChild(option);
- option->legacyParserAddChild(Text::create(document, keys[i]));
+ parserAddChild(option);
+ option->parserAddChild(Text::create(document, keys[i]));
}
}