aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPath.cpp5
-rw-r--r--src/pathops/SkOpEdgeBuilder.cpp4
2 files changed, 2 insertions, 7 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 128a0cf3e4..23c00e06f7 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -14,11 +14,6 @@
#include "SkRRect.h"
#include "SkThread.h"
-// These two should be removed once we fix any gpu bugs, and then
-// just move them into skia_for_chromium_defines.gypi
-#define SK_SUPPORT_LEGACY_ADDOVAL
-#define SK_SUPPORT_LEGACY_ADDRRECT
-
////////////////////////////////////////////////////////////////////////////
/**
diff --git a/src/pathops/SkOpEdgeBuilder.cpp b/src/pathops/SkOpEdgeBuilder.cpp
index 8503af301d..803a5f4739 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;