Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index 0bc97403bfdced8c7169039cadf37690343d6841..95a9f715380d7ff6a8772e9d70a99a47cfcfbe3b 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -511,7 +511,7 @@ void RenderBlockFlow::layoutBlockChild(RenderBox* child, MarginInfo& marginInfo, |
LayoutRect oldRect = child->frameRect(); |
LayoutUnit oldLogicalTop = logicalTopForChild(child); |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
LayoutSize oldLayoutDelta = RuntimeEnabledFeatures::repaintAfterLayoutEnabled() ? LayoutSize() : view()->layoutDelta(); |
#endif |
// Go ahead and position the child as though it didn't collapse with the top. |
@@ -2251,7 +2251,7 @@ void RenderBlockFlow::removeFloatingObject(RenderBox* floatBox) |
ASSERT(floatingObject->originatingLine()->renderer() == this); |
floatingObject->originatingLine()->markDirty(); |
} |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
floatingObject->setOriginatingLine(0); |
#endif |
} |