Index: Source/core/html/HTMLDetailsElement.cpp |
diff --git a/Source/core/html/HTMLDetailsElement.cpp b/Source/core/html/HTMLDetailsElement.cpp |
index 454a8fffb0e48f62cf3945706e0803d37bc0e1b1..1042996532f29fd4ee045e188b095154cc5f3673 100644 |
--- a/Source/core/html/HTMLDetailsElement.cpp |
+++ b/Source/core/html/HTMLDetailsElement.cpp |
@@ -60,7 +60,7 @@ void HTMLDetailsElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
DEFINE_STATIC_LOCAL(AtomicString, summarySelector, ("summary:first-of-type", AtomicString::ConstructFromLiteral)); |
RefPtr<HTMLSummaryElement> defaultSummary = HTMLSummaryElement::create(summaryTag, document()); |
- defaultSummary->appendChild(Text::create(&document(), defaultDetailsSummaryText())); |
+ defaultSummary->appendChild(Text::create(document(), defaultDetailsSummaryText())); |
RefPtr<HTMLContentElement> content = HTMLContentElement::create(document()); |
content->setAttribute(selectAttr, summarySelector); |