| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index dd67c92e7e2fdfd0c49522459ca6b0bfa9dc0aa9..438e0a2b670744d44c94116f38379b5e31d74ef4 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -2642,7 +2642,7 @@ KURL Element::hrefURL() const
|
|
|
| KURL Element::getURLAttribute(const QualifiedName& name) const
|
| {
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| if (elementData()) {
|
| if (const Attribute* attribute = attributes().find(name))
|
| ASSERT(isURLAttribute(*attribute));
|
| @@ -2653,7 +2653,7 @@ KURL Element::getURLAttribute(const QualifiedName& name) const
|
|
|
| KURL Element::getNonEmptyURLAttribute(const QualifiedName& name) const
|
| {
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| if (elementData()) {
|
| if (const Attribute* attribute = attributes().find(name))
|
| ASSERT(isURLAttribute(*attribute));
|
|
|