fix argument order in call to SkBlurDrawLooper constructor

This fixes all sorts of badness.

Bug: 15074512
Change-Id: I5e96983c58d19e0dc2d8fa61d1efa9dcff076ca1
This commit is contained in:
Victoria Lease
2014-05-19 16:00:17 -07:00
parent 50b843883d
commit 49f0db3481

View File

@@ -853,7 +853,7 @@ public:
}
else {
SkScalar sigma = android::uirenderer::Blur::convertRadiusToSigma(radius);
paint->setLooper(new SkBlurDrawLooper((SkColor)color, sigma, dx, dy))->unref();
paint->setLooper(SkBlurDrawLooper::Create((SkColor)color, sigma, dx, dy))->unref();
}
}