Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index d3a94fee9fb2b4a9c824c8a062ce5d5b8866ac74..afbb32eed64c1b0708f133e64a3936846e1c4dd2 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -1012,7 +1012,7 @@ void RenderBlock::makeChildrenNonInline(RenderObject *insertionPoint) |
moveChildrenTo(block, inlineRunStart, child); |
} |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
for (RenderObject *c = firstChild(); c; c = c->nextSibling()) |
ASSERT(!c->isInline()); |
#endif |
@@ -4916,7 +4916,7 @@ bool RenderBlock::recalcOverflowAfterStyleChange() |
return !hasOverflowClip(); |
} |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
void RenderBlock::checkPositionedObjectsNeedLayout() |
{ |
if (!gPositionedDescendantsMap) |
@@ -4931,6 +4931,10 @@ void RenderBlock::checkPositionedObjectsNeedLayout() |
} |
} |
+#endif |
+ |
+#ifndef NDEBUG |
+ |
void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* markedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const RenderObject* obj) const |
{ |
showRenderObject(); |