Index: src/pathops/SkReduceOrder.h |
diff --git a/src/pathops/SkReduceOrder.h b/src/pathops/SkReduceOrder.h |
index e9e4090deb30826d8520703fc3d388f682025276..7efb71d4fe6f62677704b2cf8e3e7b1f9ea0c05b 100644 |
--- a/src/pathops/SkReduceOrder.h |
+++ b/src/pathops/SkReduceOrder.h |
@@ -11,6 +11,8 @@ |
#include "SkPathOpsLine.h" |
#include "SkPathOpsQuad.h" |
+struct SkConic; |
+ |
union SkReduceOrder { |
enum Quadratics { |
kNo_Quadratics, |
@@ -21,7 +23,7 @@ union SkReduceOrder { |
int reduce(const SkDLine& line); |
int reduce(const SkDQuad& quad); |
- static SkPath::Verb Conic(const SkPoint pts[3], SkScalar weight, SkPoint* reducePts); |
+ static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts); |
static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts); |
static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts); |