Index: Source/core/rendering/RenderText.h |
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h |
index 5853d376d4c5559d4c08e81203369003084ac96a..22c300e24dacc6c4d3ced2c10af3f1b1f5abba06 100644 |
--- a/Source/core/rendering/RenderText.h |
+++ b/Source/core/rendering/RenderText.h |
@@ -40,7 +40,7 @@ public: |
// not the content of the Text node, updating text-transform property |
// doesn't re-transform the string. |
RenderText(Node*, PassRefPtr<StringImpl>); |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
virtual ~RenderText(); |
#endif |
@@ -225,7 +225,7 @@ inline UChar RenderText::characterAt(unsigned i) const |
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderText, isText()); |
-#ifdef NDEBUG |
+#if !ENABLE(ASSERT) |
inline void RenderText::checkConsistency() const |
{ |
} |