Index: Source/core/dom/CharacterData.cpp |
diff --git a/Source/core/dom/CharacterData.cpp b/Source/core/dom/CharacterData.cpp |
index 7907f4f2d2c513bf37da4d6fa74f68b5b0fed5f8..dc53f78c5ff2b75d6d57c871fab725327e64a943 100644 |
--- a/Source/core/dom/CharacterData.cpp |
+++ b/Source/core/dom/CharacterData.cpp |
@@ -165,7 +165,7 @@ void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfRep |
String oldData = m_data; |
m_data = newData; |
- ASSERT(!renderer() || isTextNode()); |
+ ASSERT(!layoutObject() || isTextNode()); |
if (isTextNode()) |
toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior); |