Index: Source/core/html/parser/HTMLToken.h |
diff --git a/Source/core/html/parser/HTMLToken.h b/Source/core/html/parser/HTMLToken.h |
index c6dee0d7244de075ce2019ed0ee921eb99ae5001..3132c9e76c53db3b22c56c159f0dc556383c39c8 100644 |
--- a/Source/core/html/parser/HTMLToken.h |
+++ b/Source/core/html/parser/HTMLToken.h |
@@ -291,7 +291,7 @@ public: |
ASSERT(m_type == StartTag || m_type == EndTag); |
m_attributes.grow(m_attributes.size() + 1); |
m_currentAttribute = &m_attributes.last(); |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
m_currentAttribute->nameRange.start = 0; |
m_currentAttribute->nameRange.end = 0; |
m_currentAttribute->valueRange.start = 0; |
@@ -315,7 +315,7 @@ public: |
void beginAttributeValue(int offset) |
{ |
m_currentAttribute->valueRange.start = offset - m_baseOffset; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
m_currentAttribute->valueRange.end = 0; |
#endif |
} |