| 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())
|
|
|