diff options
Diffstat (limited to 'src/pathops/SkPathOpsSimplify.cpp')
-rw-r--r-- | src/pathops/SkPathOpsSimplify.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pathops/SkPathOpsSimplify.cpp b/src/pathops/SkPathOpsSimplify.cpp index e671ab81a9..d9d0879986 100644 --- a/src/pathops/SkPathOpsSimplify.cpp +++ b/src/pathops/SkPathOpsSimplify.cpp @@ -146,8 +146,7 @@ bool SimplifyDebug(const SkPath& path, SkPath* result return true; } // turn path into list of segments - char storage[4096]; - SkArenaAlloc allocator(storage); // FIXME: constant-ize, tune + SkSTArenaAlloc<4096> allocator; // FIXME: constant-ize, tune SkOpContour contour; SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); SkOpGlobalState globalState(contourList, &allocator |