| Index: Source/core/rendering/SubtreeLayoutScope.cpp
|
| diff --git a/Source/core/rendering/SubtreeLayoutScope.cpp b/Source/core/rendering/SubtreeLayoutScope.cpp
|
| index a5793a69e9a3013bcbbd1995b2c32dffacb70338..5d09b3b7e61c79f00a57ca6369da0bfd8fb6ef44 100644
|
| --- a/Source/core/rendering/SubtreeLayoutScope.cpp
|
| +++ b/Source/core/rendering/SubtreeLayoutScope.cpp
|
| @@ -46,7 +46,7 @@ SubtreeLayoutScope::~SubtreeLayoutScope()
|
| {
|
| RELEASE_ASSERT(!m_root.needsLayout());
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| for (HashSet<RenderObject*>::iterator it = m_renderersToLayout.begin(); it != m_renderersToLayout.end(); ++it)
|
| (*it)->assertRendererLaidOut();
|
| #endif
|
| @@ -66,7 +66,7 @@ void SubtreeLayoutScope::setChildNeedsLayout(RenderObject* descendant)
|
|
|
| void SubtreeLayoutScope::addRendererToLayout(RenderObject* renderer)
|
| {
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| m_renderersToLayout.add(renderer);
|
| #endif
|
| }
|
|
|