Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: Source/core/dom/Element.cpp

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698