Index: third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
index 4fa8a29078bb0149b6ddd368d9843a3c75c234e4..282fa462f1cec75149c5b5725d8acbb0f682adb5 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
@@ -81,7 +81,7 @@ bool CustomElement::isValidName(const AtomicString& name) |
bool CustomElement::shouldCreateCustomElement(Document& document, const AtomicString& localName) |
{ |
return RuntimeEnabledFeatures::customElementsV1Enabled() |
- && document.frame() && isValidName(localName); |
+ && isValidName(localName); |
} |
bool CustomElement::shouldCreateCustomElement(Document& document, const QualifiedName& tagName) |