| Index: Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
|
| index 0bd1c8d990a0c3f36aa18c470d29a5291f5642d0..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
|
| @@ -147,7 +147,7 @@ void GraphicsLayer::setParent(GraphicsLayer* layer)
|
| m_parent = layer;
|
| }
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
|
|
| bool GraphicsLayer::hasAncestor(GraphicsLayer* ancestor) const
|
| {
|
|
|