| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index df2045fb07474211b9b57994d8143a6785c5347d..ff264ee54e550a4df80a8aeb2cea89675c743bd2 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();
|
|
|