| Index: Source/core/dom/CharacterData.h
|
| diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h
|
| index d35623c417f6332f85b46a48e7570c674a418f43..7a101366ab68f0b18b27cdb39f07c31198971297 100644
|
| --- a/Source/core/dom/CharacterData.h
|
| +++ b/Source/core/dom/CharacterData.h
|
| @@ -38,10 +38,12 @@ public:
|
| unsigned length() const { return m_data.length(); }
|
| String substringData(unsigned offset, unsigned count, ExceptionState&);
|
| void appendData(const String&);
|
| - void insertData(unsigned offset, const String&, ExceptionState&, AttachBehavior = AttachLazily);
|
| - void deleteData(unsigned offset, unsigned count, ExceptionState&, AttachBehavior = AttachLazily);
|
| void replaceData(unsigned offset, unsigned count, const String&, ExceptionState&);
|
|
|
| + enum RecalcStyleBehavior { DoNotRecalcStyle, DeprecatedRecalcStyleImmediatlelyForEditing };
|
| + void insertData(unsigned offset, const String&, ExceptionState&, RecalcStyleBehavior = DoNotRecalcStyle);
|
| + void deleteData(unsigned offset, unsigned count, ExceptionState&, RecalcStyleBehavior = DoNotRecalcStyle);
|
| +
|
| bool containsOnlyWhitespace() const;
|
|
|
| StringImpl* dataImpl() { return m_data.impl(); }
|
| @@ -74,7 +76,7 @@ private:
|
| virtual bool isCharacterDataNode() const OVERRIDE FINAL { return true; }
|
| virtual int maxCharacterOffset() const OVERRIDE FINAL;
|
| virtual bool offsetInCharacters() const OVERRIDE FINAL;
|
| - void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, AttachBehavior = AttachLazily);
|
| + void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior = DoNotRecalcStyle);
|
| };
|
|
|
| } // namespace WebCore
|
|
|