aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RectoriBench.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-13 14:40:34 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-13 14:40:34 +0000
commit63a3f6f5d98711f1d83967ed10e5e972b586ae6e (patch)
treea475760ac7f1d41798c66ae23964c2c86db3a87d /bench/RectoriBench.cpp
parent1d2f63159416ceec0544f803aef80f6e0c09e85c (diff)
Fix for Debug check failures in r9108
git-svn-id: http://skia.googlecode.com/svn/trunk@9109 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/RectoriBench.cpp')
-rw-r--r--bench/RectoriBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/RectoriBench.cpp b/bench/RectoriBench.cpp
index c41930fb68..26d3aeae1d 100644
--- a/bench/RectoriBench.cpp
+++ b/bench/RectoriBench.cpp
@@ -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();