Index: Source/WebCore/rendering/RenderQuote.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderQuote.cpp (revision 127630) |
+++ Source/WebCore/rendering/RenderQuote.cpp (working copy) |
@@ -292,6 +292,8 @@ |
if (!m_previous) { |
m_next = view()->renderQuoteHead(); |
view()->setRenderQuoteHead(this); |
+ if (m_next) |
+ m_next->m_previous = this; |
} |
m_attached = true; |
@@ -299,7 +301,9 @@ |
quote->updateDepth(); |
ASSERT(!m_next || m_next->m_attached); |
+ ASSERT(!m_next || m_next->m_previous == this); |
ASSERT(!m_previous || m_previous->m_attached); |
+ ASSERT(!m_previous || m_previous->m_next == this); |
} |
void RenderQuote::detachQuote() |