Index: Source/core/html/HTMLSummaryElement.cpp |
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp |
index 379b4a5d49cb967915093ca64ab44566e99a17da..02880b5d81dcd8ffd104d3059ddcd3fdb070b86c 100644 |
--- a/Source/core/html/HTMLSummaryElement.cpp |
+++ b/Source/core/html/HTMLSummaryElement.cpp |
@@ -53,10 +53,10 @@ RenderObject* HTMLSummaryElement::createRenderer(RenderStyle*) |
return new RenderBlockFlow(this); |
} |
-void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
+void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
{ |
- root->appendChild(DetailsMarkerControl::create(document())); |
- root->appendChild(HTMLContentElement::create(document())); |
+ root.appendChild(DetailsMarkerControl::create(document())); |
+ root.appendChild(HTMLContentElement::create(document())); |
} |
HTMLDetailsElement* HTMLSummaryElement::detailsElement() const |