summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/CharacterData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/CharacterData.h')
-rw-r--r--Source/WebCore/dom/CharacterData.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/dom/CharacterData.h b/Source/WebCore/dom/CharacterData.h
index 31da63c..39a6faa 100644
--- a/Source/WebCore/dom/CharacterData.h
+++ b/Source/WebCore/dom/CharacterData.h
@@ -43,7 +43,8 @@ public:
StringImpl* dataImpl() { return m_data.get(); }
// Like appendData, but optimized for the parser (e.g., no mutation events).
- void parserAppendData(const String&);
+ // Returns how much could be added before length limit was met.
+ unsigned parserAppendData(const UChar*, unsigned dataLength, unsigned lengthLimit);
protected:
CharacterData(Document* document, const String& text, ConstructionType type)