Index: Source/core/html/HTMLSummaryElement.cpp |
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp |
index 635dd550a590ab2d684f3621cfa1f8ff26bb5453..e41599d9c1544d9c2e629328d3b6808c419ddb49 100644 |
--- a/Source/core/html/HTMLSummaryElement.cpp |
+++ b/Source/core/html/HTMLSummaryElement.cpp |
@@ -55,8 +55,8 @@ RenderObject* HTMLSummaryElement::createRenderer(RenderStyle*) |
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 |