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:
robertphillips 2016-09-16 06:17:45 -07:00 committed by Commit bot
parent e14e226ba7
commit f560ef8681
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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