aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRasterizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkRasterizer.cpp')
-rw-r--r--src/core/SkRasterizer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkRasterizer.cpp b/src/core/SkRasterizer.cpp
index 60176b8446..994fb7f4b3 100644
--- a/src/core/SkRasterizer.cpp
+++ b/src/core/SkRasterizer.cpp
@@ -10,6 +10,7 @@
#include "SkDraw.h"
#include "SkMaskFilter.h"
#include "SkPath.h"
+#include "SkStrokeRec.h"
bool SkRasterizer::rasterize(const SkPath& fillPath, const SkMatrix& matrix,
const SkIRect* clipBounds, SkMaskFilter* filter,
@@ -41,5 +42,5 @@ bool SkRasterizer::onRasterize(const SkPath& fillPath, const SkMatrix& matrix,
fillPath.transform(matrix, &devPath);
return SkDraw::DrawToMask(devPath, clipBounds, nullptr, nullptr, mask, mode,
- SkPaint::kFill_Style);
+ SkStrokeRec::kFill_InitStyle);
}