| Index: Source/core/dom/CharacterData.cpp
|
| ===================================================================
|
| --- Source/core/dom/CharacterData.cpp (revision 172583)
|
| +++ Source/core/dom/CharacterData.cpp (working copy)
|
| @@ -124,7 +124,7 @@
|
|
|
| void CharacterData::deleteData(unsigned offset, unsigned count, ExceptionState& exceptionState, RecalcStyleBehavior recalcStyleBehavior)
|
| {
|
| - unsigned realCount;
|
| + unsigned realCount = 0;
|
| if (!validateOffsetCount(offset, count, length(), realCount, exceptionState))
|
| return;
|
|
|
| @@ -138,7 +138,7 @@
|
|
|
| void CharacterData::replaceData(unsigned offset, unsigned count, const String& data, ExceptionState& exceptionState)
|
| {
|
| - unsigned realCount;
|
| + unsigned realCount = 0;
|
| if (!validateOffsetCount(offset, count, length(), realCount, exceptionState))
|
| return;
|
|
|
|
|