Chromium Code Reviews| Index: src/pathops/SkPathOpsTSect.h |
| diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h |
| index ae01a1dcbabbe09b06158c65bf577af38cbff8a6..9d634333301e180c1121a28f2e4734b06cce362e 100644 |
| --- a/src/pathops/SkPathOpsTSect.h |
| +++ b/src/pathops/SkPathOpsTSect.h |
| @@ -16,8 +16,8 @@ |
| template<typename TCurve> |
| class SkTCoincident { |
| public: |
| - SkTCoincident() |
| - : fCoincident(false) { |
| + SkTCoincident() { |
| + clear(); |
|
mtklein
2015/04/13 15:55:19
this-> ?
|
| } |
| 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() { |