Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 1202f51124dcdf07463c927eb1a9f654b90f877a..dd4918d5bc8c18680ad562ee2363af5413b1ae02 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2603,7 +2603,7 @@ DOMStringMap& Element::dataset() |
KURL Element::getURLAttribute(const QualifiedName& name) const |
{ |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
if (elementData()) { |
if (const Attribute* attribute = findAttributeByName(name)) |
ASSERT(isURLAttribute(*attribute)); |
@@ -2614,7 +2614,7 @@ KURL Element::getURLAttribute(const QualifiedName& name) const |
KURL Element::getNonEmptyURLAttribute(const QualifiedName& name) const |
{ |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
if (elementData()) { |
if (const Attribute* attribute = findAttributeByName(name)) |
ASSERT(isURLAttribute(*attribute)); |