From 08b3249494782cc401ab1cac57ef4d8e560ed11d Mon Sep 17 00:00:00 2001 From: caryclark Date: Mon, 6 Apr 2015 11:41:29 -0700 Subject: fix valgrind bug R=mtklein BUG=skia:3654 Review URL: https://codereview.chromium.org/1064663003 --- src/pathops/SkPathOpsTSect.h | 2 ++ 1 file changed, 2 insertions(+) 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* SkTSect::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); -- cgit v1.2.3