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
diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h
index 0002b59..344e705 100644
--- a/include/core/SkPathRef.h
+++ b/include/core/SkPathRef.h
@@ -335,8 +335,8 @@
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();)
}