Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1151)

Unified Diff: Source/core/html/HTMLSummaryElement.cpp

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLSummaryElement.h ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/HTMLSummaryElement.h ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698