fix valgrind bug

R=mtklein
BUG=skia:3654

Review URL: https://codereview.chromium.org/1064663003
This commit is contained in:
caryclark 2015-04-06 11:41:29 -07:00 committed by Commit bot
parent 5b143038cb
commit 08b3249494

View File

@ -810,6 +810,8 @@ SkTSpan<TCurve>* SkTSect<TCurve>::addOne() {
++fDebugAllocatedCount;
#endif
}
result->fHasPerp = false;
result->fDeleted = false;
++fActiveCount;
PATH_OPS_DEBUG_T_SECT_CODE(result->fID = fDebugCount++ * 2 + fID);
PATH_OPS_DEBUG_CODE(result->fDebugSect = this);