Index: Source/core/html/HTMLKeygenElement.cpp |
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp |
index 4b20d877b12f812918eb2e722724f2bd0cf73854..447922f6fdba0e33a3e7fa70e4d4d993b9b20b1f 100644 |
--- a/Source/core/html/HTMLKeygenElement.cpp |
+++ b/Source/core/html/HTMLKeygenElement.cpp |
@@ -50,7 +50,7 @@ HTMLKeygenElement::HTMLKeygenElement(const QualifiedName& tagName, Document& doc |
ensureUserAgentShadowRoot(); |
} |
-void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
+void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
{ |
DEFINE_STATIC_LOCAL(AtomicString, keygenSelectPseudoId, ("-webkit-keygen-select", AtomicString::ConstructFromLiteral)); |
@@ -66,7 +66,7 @@ void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
select->appendChild(option); |
} |
- root->appendChild(select); |
+ root.appendChild(select); |
} |
void HTMLKeygenElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |