diff options
author | caryclark <caryclark@google.com> | 2015-03-24 09:16:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-24 09:16:25 -0700 |
commit | c207f9b2e8d6fb5386197fa8a8d258d2c4603418 (patch) | |
tree | fad704a7b03616bbe484ed182d7b287ce435dfd7 /src/pathops/SkPathOpsOp.cpp | |
parent | e02c944e97ad6a3b8befb1f4f784919767941ba6 (diff) |
fix destructor order to fix build
TBR=reed
Review URL: https://codereview.chromium.org/1033703002
Diffstat (limited to 'src/pathops/SkPathOpsOp.cpp')
-rw-r--r-- | src/pathops/SkPathOpsOp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsOp.cpp b/src/pathops/SkPathOpsOp.cpp index 77ae2de778..3182ac363d 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; |