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

Unified Diff: Source/core/html/HTMLAppletElement.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/events/TreeScopeEventContext.cpp ('k') | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAppletElement.cpp
diff --git a/Source/core/html/HTMLAppletElement.cpp b/Source/core/html/HTMLAppletElement.cpp
index 20642d94e0dc7ad073a36a4a0059b9767c384492..b54260319bf0a18d4d25a77a433e2711c25c3537 100644
--- a/Source/core/html/HTMLAppletElement.cpp
+++ b/Source/core/html/HTMLAppletElement.cpp
@@ -53,7 +53,7 @@ HTMLAppletElement::HTMLAppletElement(Document& document, bool createdByParser)
PassRefPtrWillBeRawPtr<HTMLAppletElement> HTMLAppletElement::create(Document& document, bool createdByParser)
{
RefPtrWillBeRawPtr<HTMLAppletElement> element = adoptRefWillBeNoop(new HTMLAppletElement(document, createdByParser));
- element->ensureUserAgentShadowRoot();
+ element->ensureClosedShadowRoot();
return element.release();
}
@@ -85,14 +85,14 @@ bool HTMLAppletElement::hasLegalLinkAttribute(const QualifiedName& name) const
bool HTMLAppletElement::rendererIsNeeded(const LayoutStyle& style)
{
- if (!fastHasAttribute(codeAttr) && !hasAuthorShadowRoot())
+ if (!fastHasAttribute(codeAttr) && !hasOpenShadowRoot())
return false;
return HTMLPlugInElement::rendererIsNeeded(style);
}
LayoutObject* HTMLAppletElement::createRenderer(const LayoutStyle& style)
{
- if (!canEmbedJava() || hasAuthorShadowRoot())
+ if (!canEmbedJava() || hasOpenShadowRoot())
return LayoutObject::createObject(this, style);
if (usePlaceholderContent())
« no previous file with comments | « Source/core/events/TreeScopeEventContext.cpp ('k') | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698