| Index: Source/core/dom/CharacterData.cpp
|
| ===================================================================
|
| --- Source/core/dom/CharacterData.cpp (revision 173028)
|
| +++ Source/core/dom/CharacterData.cpp (working copy)
|
| @@ -125,7 +125,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;
|
|
|
| @@ -139,7 +139,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;
|
|
|
|
|