Index: Source/core/page/Page.h |
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
index bae0e1a60405da3fbbbbd02fec069398cf2bc7b0..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 |
@@ -299,7 +299,7 @@ private: |
bool m_isCursorVisible; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
bool m_isPainting; |
#endif |