Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index 1b885e0300c5ef020e4ecb5e35fe2217f332adaf..a33755e2bf53a629c1c2bf846cdacbefe7e2c7bc 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -105,7 +105,7 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client) |
, m_scrollableArea(0) |
, m_3dRenderingContext(0) |
{ |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
if (m_client) |
m_client->verifyNotPainting(); |
#endif |
@@ -123,7 +123,7 @@ GraphicsLayer::~GraphicsLayer() |
m_linkHighlights[i]->clearCurrentGraphicsLayer(); |
m_linkHighlights.clear(); |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
if (m_client) |
m_client->verifyNotPainting(); |
#endif |