From e1382cec1ca908d78d713aa25c06565987ce8e0d Mon Sep 17 00:00:00 2001 From: senorblanco Date: Thu, 11 Aug 2016 12:23:08 -0700 Subject: [PATCH] Always init SkPathRef variables. [Cherry-pick of 9c1d45d986f3c58593fde0fd62ab22e056dd3881 to m53 branch.] BUG=623195 NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2235363002 --- include/core/SkPathRef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h index 0002b594b4..344e705fc3 100644 --- a/include/core/SkPathRef.h +++ b/include/core/SkPathRef.h @@ -335,8 +335,8 @@ private: fIsOval = false; fIsRRect = false; // The next two values don't matter unless fIsOval or fIsRRect are true. - SkDEBUGCODE(fRRectOrOvalIsCCW = false); - SkDEBUGCODE(fRRectOrOvalStartIdx = 0xAC); + fRRectOrOvalIsCCW = false; + fRRectOrOvalStartIdx = 0xAC; SkDEBUGCODE(fEditorsAttached = 0;) SkDEBUGCODE(this->validate();) } -- 2.34.1