summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/CharacterData.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/dom/CharacterData.cpp
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/dom/CharacterData.cpp')
-rw-r--r--WebCore/dom/CharacterData.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/dom/CharacterData.cpp b/WebCore/dom/CharacterData.cpp
index 1228c98..d525650 100644
--- a/WebCore/dom/CharacterData.cpp
+++ b/WebCore/dom/CharacterData.cpp
@@ -26,6 +26,7 @@
#include "Document.h"
#include "EventNames.h"
#include "ExceptionCode.h"
+#include "TextStream.h"
#include "MutationEvent.h"
#include "RenderText.h"
@@ -258,4 +259,13 @@ bool CharacterData::offsetInCharacters() const
return true;
}
+#ifndef NDEBUG
+void CharacterData::dump(TextStream *stream, DeprecatedString ind) const
+{
+ *stream << " m_data=\"" << String(m_data).utf8().data() << "\"";
+
+ EventTargetNode::dump(stream, ind);
+}
+#endif
+
} // namespace WebCore