Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Unified Diff: Source/core/dom/CharacterData.cpp

Issue 259783002: Merge 171240 "Fix compilation on Chromium OS after r171165" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1916/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698