Index: Source/core/page/Page.h |
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
index 0f1d2143a1fd0d446cfd0415eb4a82f5c947f702..fe7a532008dfb0e6afcf5a96d4b41cb2cf77b9c1 100644 |
--- a/Source/core/page/Page.h |
+++ b/Source/core/page/Page.h |
@@ -203,7 +203,7 @@ public: |
bool isCursorVisible() const; |
void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
void setIsPainting(bool painting) { m_isPainting = painting; } |
bool isPainting() const { return m_isPainting; } |
#endif |
@@ -234,7 +234,7 @@ protected: |
private: |
void initGroup(); |
-#if ASSERT_ENABLED |
+#if ENABLE(ASSERT) |
void checkSubframeCountConsistency() const; |
#else |
void checkSubframeCountConsistency() const { } |
@@ -299,7 +299,7 @@ private: |
bool m_isCursorVisible; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
bool m_isPainting; |
#endif |