Index: Source/WebCore/dom/CharacterData.cpp |
=================================================================== |
--- Source/WebCore/dom/CharacterData.cpp (revision 118871) |
+++ Source/WebCore/dom/CharacterData.cpp (working copy) |
@@ -44,6 +44,8 @@ |
if (m_data == nonNullData) |
return; |
+ RefPtr<CharacterData> protect = this; |
+ |
unsigned oldLength = length(); |
setDataAndUpdate(nonNullData, 0, oldLength, nonNullData.length()); |