Index: Source/core/html/HTMLEmbedElement.cpp |
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp |
index 0a5e1f11db96221a385b6b00540ac526c06ffc8f..b2e5b5bbd0b947093f3eb6bf9d5c72b992f8b247 100644 |
--- a/Source/core/html/HTMLEmbedElement.cpp |
+++ b/Source/core/html/HTMLEmbedElement.cpp |
@@ -48,7 +48,7 @@ inline HTMLEmbedElement::HTMLEmbedElement(Document& document, bool createdByPars |
PassRefPtrWillBeRawPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser) |
{ |
RefPtrWillBeRawPtr<HTMLEmbedElement> element = adoptRefWillBeNoop(new HTMLEmbedElement(document, createdByParser)); |
- element->ensureUserAgentShadowRoot(); |
+ element->ensureClosedShadowRoot(); |
return element.release(); |
} |