Index: src/effects/SkLayerRasterizer.cpp |
diff --git a/src/effects/SkLayerRasterizer.cpp b/src/effects/SkLayerRasterizer.cpp |
index 39e3e231ef1adc3614a20b14b66d5110d1ba7ff2..71d7fb63c5c503d967c04ba26f85a60d03312095 100644 |
--- a/src/effects/SkLayerRasterizer.cpp |
+++ b/src/effects/SkLayerRasterizer.cpp |
@@ -16,6 +16,7 @@ |
#include "SkPath.h" |
#include "SkPathEffect.h" |
#include "../core/SkRasterClip.h" |
+#include "../core/SkStrokeRec.h" |
#include "SkXfermode.h" |
#include <new> |
@@ -78,7 +79,7 @@ static bool compute_bounds(const SkDeque& layers, const SkPath& path, |
if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), |
&matrix, &mask, |
SkMask::kJustComputeBounds_CreateMode, |
- SkPaint::kFill_Style)) { |
+ SkStrokeRec::kFill_InitStyle)) { |
return false; |
} |