Index: Source/core/rendering/FastTextAutosizer.h |
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h |
index b03041481e8e4a781461cbc05d3409e774e841cf..454aa0dfdcffc54f36b936abe5a5e8fd062377ae 100644 |
--- a/Source/core/rendering/FastTextAutosizer.h |
+++ b/Source/core/rendering/FastTextAutosizer.h |
@@ -220,7 +220,7 @@ private: |
FingerprintMap m_fingerprints; |
ReverseFingerprintMap m_blocksForFingerprint; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
void assertMapsAreConsistent(); |
#endif |
}; |
@@ -289,7 +289,7 @@ private: |
const Document* m_document; |
const RenderBlock* m_firstBlockToBeginLayout; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
BlockSet m_blocksThatHaveBegunLayout; // Used to ensure we don't compute properties of a block before beginLayout() is called on it. |
#endif |