| Index: src/pathops/SkPathOpsPoint.h
|
| diff --git a/src/pathops/SkPathOpsPoint.h b/src/pathops/SkPathOpsPoint.h
|
| index c596b91cc09b28d7fbb6b96b112a3279aafc2837..e3f722bede18219384532a11c1975064304d730d 100644
|
| --- a/src/pathops/SkPathOpsPoint.h
|
| +++ b/src/pathops/SkPathOpsPoint.h
|
| @@ -23,8 +23,6 @@ struct SkDVector {
|
| fY = pt.fY;
|
| }
|
|
|
| - friend SkDPoint operator+(const SkDPoint& a, const SkDVector& b);
|
| -
|
| // only used by testing
|
| void operator+=(const SkDVector& v) {
|
| fX += v.fX;
|
| @@ -208,7 +206,7 @@ struct SkDPoint {
|
| }
|
|
|
| static bool RoughlyEqual(const SkPoint& a, const SkPoint& b) {
|
| - if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) {
|
| + if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) {
|
| return false;
|
| }
|
| SkDPoint dA, dB;
|
|
|