fix argument order in call to SkBlurDrawLooper constructor
This fixes all sorts of badness. Bug: 15074512 Change-Id: I5e96983c58d19e0dc2d8fa61d1efa9dcff076ca1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user