| Index: src/pathops/SkPathOpsOp.cpp
|
| diff --git a/src/pathops/SkPathOpsOp.cpp b/src/pathops/SkPathOpsOp.cpp
|
| index 77ae2de778f7bb38c3b688774992108f6d6836fa..3182ac363df1faa089f81b897cde7b8a5449289c 100644
|
| --- a/src/pathops/SkPathOpsOp.cpp
|
| +++ b/src/pathops/SkPathOpsOp.cpp
|
| @@ -261,6 +261,7 @@ static void dump_op(const SkPath& one, const SkPath& two, SkPathOp op) {
|
| #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));
|
| @@ -288,7 +289,6 @@ bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) {
|
| 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;
|
|
|