Index: Source/core/html/HTMLSummaryElement.cpp |
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp |
index d4dc503caeb8a4e7df23c6e73c41e95963f81626..9c34f70d41bb12ddb661a99c69ecb5f5b78a732c 100644 |
--- a/Source/core/html/HTMLSummaryElement.cpp |
+++ b/Source/core/html/HTMLSummaryElement.cpp |
@@ -39,7 +39,7 @@ using namespace HTMLNames; |
PassRefPtrWillBeRawPtr<HTMLSummaryElement> HTMLSummaryElement::create(Document& document) |
{ |
RefPtrWillBeRawPtr<HTMLSummaryElement> summary = adoptRefWillBeNoop(new HTMLSummaryElement(document)); |
- summary->ensureUserAgentShadowRoot(); |
+ summary->ensureClosedShadowRoot(); |
return summary.release(); |
} |
@@ -53,7 +53,7 @@ LayoutObject* HTMLSummaryElement::createRenderer(const LayoutStyle&) |
return new RenderBlockFlow(this); |
} |
-void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
+void HTMLSummaryElement::didAddClosedShadowRoot(ShadowRoot& root) |
{ |
RefPtrWillBeRawPtr<DetailsMarkerControl> markerControl = DetailsMarkerControl::create(document()); |
markerControl->setIdAttribute(ShadowElementNames::detailsMarker()); |
@@ -71,7 +71,7 @@ HTMLDetailsElement* HTMLSummaryElement::detailsElement() const |
Element* HTMLSummaryElement::markerControl() |
{ |
- return ensureUserAgentShadowRoot().getElementById(ShadowElementNames::detailsMarker()); |
+ return ensureClosedShadowRoot().getElementById(ShadowElementNames::detailsMarker()); |
} |
bool HTMLSummaryElement::isMainSummary() const |