commit | 08b3249494782cc401ab1cac57ef4d8e560ed11d | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Mon Apr 06 11:41:29 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 06 11:41:29 2015 -0700 |
tree | cc53b66a0140c13b6eac2524180962820e8b6be8 | |
parent | 5b143038cb47763974d2750ed78d436eb6c38bea [diff] |
fix valgrind bug R=mtklein BUG=skia:3654 Review URL: https://codereview.chromium.org/1064663003
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h index b709a60..ae01a1d 100644 --- a/src/pathops/SkPathOpsTSect.h +++ b/src/pathops/SkPathOpsTSect.h
@@ -810,6 +810,8 @@ ++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);