summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/pathops/SkPathOpsLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/pathops/SkPathOpsLine.h')
-rw-r--r--chromium/third_party/skia/src/pathops/SkPathOpsLine.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/third_party/skia/src/pathops/SkPathOpsLine.h b/chromium/third_party/skia/src/pathops/SkPathOpsLine.h
index a3cfcf26efc..74eb6153488 100644
--- a/chromium/third_party/skia/src/pathops/SkPathOpsLine.h
+++ b/chromium/third_party/skia/src/pathops/SkPathOpsLine.h
@@ -30,7 +30,7 @@ struct SkDLine {
static double ExactPointH(const SkDPoint& xy, double left, double right, double y);
static double ExactPointV(const SkDPoint& xy, double top, double bottom, double x);
double isLeft(const SkDPoint& pt) const;
- double nearPoint(const SkDPoint& xy) const;
+ double nearPoint(const SkDPoint& xy, bool* unequal) const;
bool nearRay(const SkDPoint& xy) const;
static double NearPointH(const SkDPoint& xy, double left, double right, double y);
static double NearPointV(const SkDPoint& xy, double top, double bottom, double x);
@@ -38,9 +38,7 @@ struct SkDLine {
SkDPoint ptAtT(double t) const;
SkDLine subDivide(double t1, double t2) const;
-#ifdef SK_DEBUG
- void dump();
-#endif
+ void dump() const;
private:
SkDVector tangent() const { return fPts[0] - fPts[1]; }
};