Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index fa7fe10a406ecfc89725cbd027a00d416d1504b8..556e78db7ad8eac6ec6d4107e79b72dc72b6ca81 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -877,12 +877,10 @@ void Element::attributeChanged(const QualifiedName& name, const AtomicString& ne |
inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason) |
{ |
-#if ENABLE(CUSTOM_ELEMENTS) |
if (name == isAttr) { |
if (CustomElementRegistry* registry = document()->registry()) |
registry->didGiveTypeExtension(this); |
} |
-#endif |
attributeChanged(name, newValue, reason); |
} |