Index: src/effects/SkEmbossMaskFilter.cpp |
diff --git a/src/effects/SkEmbossMaskFilter.cpp b/src/effects/SkEmbossMaskFilter.cpp |
index 905cfab941b2897699d0ec66cbf79c92d0021773..1306d6a63292b27253415f47f29723a248e8be52 100644 |
--- a/src/effects/SkEmbossMaskFilter.cpp |
+++ b/src/effects/SkEmbossMaskFilter.cpp |
@@ -89,7 +89,7 @@ bool SkEmbossMaskFilter::filterMask(SkMask* dst, const SkMask& src, |
dst->fFormat = SkMask::k3D_Format; |
if (margin) { |
- margin->set(SkScalarCeil(3*sigma), SkScalarCeil(3*sigma)); |
+ margin->set(SkScalarCeilToInt(3*sigma), SkScalarCeilToInt(3*sigma)); |
} |
if (src.fImage == NULL) { |