aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsAngleTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-03-24 09:16:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-24 09:16:25 -0700
commitc207f9b2e8d6fb5386197fa8a8d258d2c4603418 (patch)
treefad704a7b03616bbe484ed182d7b287ce435dfd7 /tests/PathOpsAngleTest.cpp
parente02c944e97ad6a3b8befb1f4f784919767941ba6 (diff)
fix destructor order to fix build
Diffstat (limited to 'tests/PathOpsAngleTest.cpp')
-rw-r--r--tests/PathOpsAngleTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsAngleTest.cpp b/tests/PathOpsAngleTest.cpp
index db3e8644f1..62ebc10139 100644
--- a/tests/PathOpsAngleTest.cpp
+++ b/tests/PathOpsAngleTest.cpp
@@ -233,10 +233,10 @@ static CircleData circleDataSet[] = {
static const int circleDataSetSize = (int) SK_ARRAY_COUNT(circleDataSet);
DEF_TEST(PathOpsAngleCircle, reporter) {
+ SkChunkAlloc allocator(4096);
SkOpContour contour;
SkOpGlobalState state(NULL PATH_OPS_DEBUG_PARAMS(&contour));
contour.init(&state, false, false);
- SkChunkAlloc allocator(4096);
for (int index = 0; index < circleDataSetSize; ++index) {
CircleData& data = circleDataSet[index];
for (int idx2 = 0; idx2 < data.fPtCount; ++idx2) {