Index: src/core/SkRasterizer.cpp |
diff --git a/src/core/SkRasterizer.cpp b/src/core/SkRasterizer.cpp |
index 60176b844601214a6e42085aef70c9b03e69e2c5..994fb7f4b39f6a3aaeb1d5a41466c7886749c7a6 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); |
} |