diff options
Diffstat (limited to 'src/pathops/SkPathOpsTightBounds.cpp')
-rw-r--r-- | src/pathops/SkPathOpsTightBounds.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsTightBounds.cpp b/src/pathops/SkPathOpsTightBounds.cpp index ac5d6aae0b..19593c228b 100644 --- a/src/pathops/SkPathOpsTightBounds.cpp +++ b/src/pathops/SkPathOpsTightBounds.cpp @@ -11,7 +11,8 @@ bool TightBounds(const SkPath& path, SkRect* result) { SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune SkOpContour contour; SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); - SkOpGlobalState globalState(nullptr, contourList SkDEBUGPARAMS(nullptr)); + SkOpGlobalState globalState(nullptr, contourList SkDEBUGPARAMS(false) + SkDEBUGPARAMS(nullptr)); // turn path into list of segments SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); if (!builder.finish(&allocator)) { |