diff options
author | 2015-04-06 11:41:29 -0700 | |
---|---|---|
committer | 2015-04-06 11:41:29 -0700 | |
commit | 08b3249494782cc401ab1cac57ef4d8e560ed11d (patch) | |
tree | cc53b66a0140c13b6eac2524180962820e8b6be8 | |
parent | 5b143038cb47763974d2750ed78d436eb6c38bea (diff) |
fix valgrind bug
R=mtklein
BUG=skia:3654
Review URL: https://codereview.chromium.org/1064663003
-rw-r--r-- | src/pathops/SkPathOpsTSect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h index b709a602e3..ae01a1dcba 100644 --- a/src/pathops/SkPathOpsTSect.h +++ b/src/pathops/SkPathOpsTSect.h @@ -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); |