Index: src/pathops/SkPathOpsOp.cpp |
diff --git a/src/pathops/SkPathOpsOp.cpp b/src/pathops/SkPathOpsOp.cpp |
index 3182ac363df1faa089f81b897cde7b8a5449289c..77ae2de778f7bb38c3b688774992108f6d6836fa 100644 |
--- a/src/pathops/SkPathOpsOp.cpp |
+++ b/src/pathops/SkPathOpsOp.cpp |
@@ -261,7 +261,6 @@ |
#endif |
bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) { |
- SkChunkAlloc allocator(4096); // FIXME: add a constant expression here, tune |
SkOpContour contour; |
SkOpCoincidence coincidence; |
SkOpGlobalState globalState(&coincidence PATH_OPS_DEBUG_PARAMS(&contour)); |
@@ -289,6 +288,7 @@ |
SkPathOpsDebug::gSortCount = SkPathOpsDebug::gSortCountDefault; |
#endif |
// turn path into list of segments |
+ SkChunkAlloc allocator(4096); // FIXME: add a constant expression here, tune |
SkOpEdgeBuilder builder(*minuend, &contour, &allocator, &globalState); |
if (builder.unparseable()) { |
return false; |