| Index: src/pathops/SkPathOpsLine.h
|
| diff --git a/src/pathops/SkPathOpsLine.h b/src/pathops/SkPathOpsLine.h
|
| index ce55861522cfc4eb7f51ff7b0fd847af1f690287..ce502019ae4c5e29a9bcc644d5c1606732d09d83 100644
|
| --- a/src/pathops/SkPathOpsLine.h
|
| +++ b/src/pathops/SkPathOpsLine.h
|
| @@ -15,9 +15,10 @@ struct SkDLine {
|
| const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
|
| SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
|
|
|
| - void set(const SkPoint pts[2]) {
|
| + const SkDLine& set(const SkPoint pts[2]) {
|
| fPts[0] = pts[0];
|
| fPts[1] = pts[1];
|
| + return *this;
|
| }
|
|
|
| double exactPoint(const SkDPoint& xy) const;
|
|
|