| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 0c32889e8dcef547e8b2ea050c69cbb050c09a6d..8bb87f82ba076c9462fefd49c2bfed9cf3d04c2e 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -172,12 +172,12 @@ void RenderView::layoutContent()
|
| if (RuntimeEnabledFeatures::dialogElementEnabled())
|
| positionDialogs();
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| checkLayoutState();
|
| #endif
|
| }
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| void RenderView::checkLayoutState()
|
| {
|
| ASSERT(!m_layoutState->next());
|
| @@ -254,7 +254,7 @@ void RenderView::layout()
|
|
|
| layoutContent();
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| checkLayoutState();
|
| #endif
|
| clearNeedsLayout();
|
|
|