Index: src/pathops/SkOpEdgeBuilder.cpp |
diff --git a/src/pathops/SkOpEdgeBuilder.cpp b/src/pathops/SkOpEdgeBuilder.cpp |
index 8503af301d5d2f4ff60aec8e94bd3f1ea566a16e..803a5f4739e238a5426cc7c4fec513cca1faf879 100644 |
--- a/src/pathops/SkOpEdgeBuilder.cpp |
+++ b/src/pathops/SkOpEdgeBuilder.cpp |
@@ -111,8 +111,8 @@ int SkOpEdgeBuilder::preFetch() { |
for (int i = 0; i < nQuads; ++i) { |
fPathVerbs.push_back(SkPath::kQuad_Verb); |
} |
- fPathPts.push_back_n(nQuads * 2, quadPts); |
- curve[0] = quadPts[nQuads * 2 - 1]; |
+ fPathPts.push_back_n(nQuads * 2, &quadPts[1]); |
+ curve[0] = pts[2]; |
lastCurve = true; |
} |
continue; |