| Index: Source/core/html/HTMLKeygenElement.cpp
|
| diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp
|
| index 4b20d877b12f812918eb2e722724f2bd0cf73854..70d547f91f78d0d22515fcda70e0c800cd7a2b74 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.release());
|
| }
|
|
|
| void HTMLKeygenElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
|
|