Fix for Debug check failures in r9108

git-svn-id: http://skia.googlecode.com/svn/trunk@9109 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-05-13 14:40:34 +00:00
parent 1d2f631594
commit 63a3f6f5d9

View File

@ -38,7 +38,7 @@ protected:
SkRect outer(inner);
// outer is always outset either 2x or 4x the blur radius (we go with 2x)
outer.outset(SkIntToScalar(2*blurRad), SkIntToScalar(2*blurRad));
outer.outset(2*blurRad, 2*blurRad);
SkPath p;
@ -88,7 +88,7 @@ private:
SkPaint* paint = looper->addLayer(info);
SkMaskFilter* mf = SkBlurMaskFilter::Create(SkIntToScalar(radius),
SkMaskFilter* mf = SkBlurMaskFilter::Create(radius,
SkBlurMaskFilter::kNormal_BlurStyle,
SkBlurMaskFilter::kHighQuality_BlurFlag);
paint->setMaskFilter(mf)->unref();