fix valgrind uninitialized issue

R=mtklein@google.com
BUG=skia:3654

Review URL: https://codereview.chromium.org/1082753002
This commit is contained in:
caryclark 2015-04-13 09:36:01 -07:00 committed by Commit bot
parent 056c424de8
commit 697ac1c138

View File

@ -16,8 +16,8 @@
template<typename TCurve>
class SkTCoincident {
public:
SkTCoincident()
: fCoincident(false) {
SkTCoincident() {
clear();
}
void clear() {
@ -30,9 +30,8 @@ public:
}
void init() {
fCoincident = false;
clear();
SkDEBUGCODE(fPerpPt.fX = fPerpPt.fY = SK_ScalarNaN);
SkDEBUGCODE(fPerpT = SK_ScalarNaN);
}
void markCoincident() {