Index: Source/WebCore/rendering/RenderTextFragment.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderTextFragment.cpp (revision 143085) |
+++ Source/WebCore/rendering/RenderTextFragment.cpp (working copy) |
@@ -85,7 +85,10 @@ |
ASSERT(!m_contentString); |
m_firstLetter->destroy(); |
m_firstLetter = 0; |
- ASSERT(!node() || node()->renderer() == this); |
+ if (Node* t = node()) { |
+ ASSERT(!t->renderer()); |
+ t->setRenderer(this); |
+ } |
} |
} |