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/SkPathOpsCommon.cpp | |
parent | e02c944e97ad6a3b8befb1f4f784919767941ba6 (diff) |
fix destructor order to fix build
TBR=reed
Review URL: https://codereview.chromium.org/1033703002
Diffstat (limited to 'src/pathops/SkPathOpsCommon.cpp')
-rw-r--r-- | src/pathops/SkPathOpsCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp index b0fd822a9d..1dc171caf3 100644 --- a/src/pathops/SkPathOpsCommon.cpp +++ b/src/pathops/SkPathOpsCommon.cpp @@ -440,12 +440,12 @@ public: reassemble contour pieces into new path */ void Assemble(const SkPathWriter& path, SkPathWriter* simple) { + SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune SkOpContour contour; SkOpGlobalState globalState(NULL PATH_OPS_DEBUG_PARAMS(&contour)); #if DEBUG_PATH_CONSTRUCTION SkDebugf("%s\n", __FUNCTION__); #endif - SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); builder.finish(&allocator); SkTDArray<const SkOpContour* > runs; // indices of partial contours |