Add staging for removal of SkRRectsGaussianEdgeShader::Make (for Android)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2347853002 TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2347853002
This commit is contained in:
parent
e14e226ba7
commit
f560ef8681
@ -26,7 +26,7 @@ public:
|
||||
*/
|
||||
static sk_sp<SkShader> Make(const SkRRect& first,
|
||||
const SkRRect& second,
|
||||
SkScalar radius);
|
||||
SkScalar radius, SkScalar unused = 0.0f);
|
||||
|
||||
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
|
||||
|
||||
|
@ -409,7 +409,7 @@ SkShader::Context* SkRRectsGaussianEdgeShaderImpl::onCreateContext(const Context
|
||||
|
||||
sk_sp<SkShader> SkRRectsGaussianEdgeShader::Make(const SkRRect& first,
|
||||
const SkRRect& second,
|
||||
SkScalar radius) {
|
||||
SkScalar radius, SkScalar unused) {
|
||||
if ((!first.isRect() && !first.isCircle() && !first.isSimpleCircular()) ||
|
||||
(!second.isRect() && !second.isCircle() && !second.isSimpleCircular())) {
|
||||
// we only deal with the shapes where the x & y radii are equal
|
||||
|
Loading…
Reference in New Issue
Block a user