fix valgrind uninitialized issue
R=mtklein@google.com BUG=skia:3654 Review URL: https://codereview.chromium.org/1082753002
This commit is contained in:
parent
056c424de8
commit
697ac1c138
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user