Index: Source/WebCore/rendering/RenderBlock.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBlock.cpp (revision 92974) |
+++ Source/WebCore/rendering/RenderBlock.cpp (working copy) |
@@ -3204,8 +3204,10 @@ |
logicalBottom = max(logicalBottom, logicalTop + 1); |
} |
if (r->m_originatingLine) { |
- ASSERT(r->m_originatingLine->renderer() == this); |
- r->m_originatingLine->markDirty(); |
+ if (!selfNeedsLayout()) { |
+ ASSERT(r->m_originatingLine->renderer() == this); |
+ r->m_originatingLine->markDirty(); |
+ } |
#if !ASSERT_DISABLED |
r->m_originatingLine = 0; |
#endif |
@@ -3679,7 +3681,7 @@ |
} |
floatMap.remove(f->m_renderer); |
- if (oldFloatingObject->m_originatingLine) { |
+ if (oldFloatingObject->m_originatingLine && !selfNeedsLayout()) { |
ASSERT(oldFloatingObject->m_originatingLine->renderer() == this); |
oldFloatingObject->m_originatingLine->markDirty(); |
} |