| Index: src/effects/gradients/SkGradientShaderPriv.h
|
| diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h
|
| index 7c9d9c319bef8e7612f9fb801fb37ed0621b6075..4ba6443bc5ea45a098a8d419375167d90c09f09d 100644
|
| --- a/src/effects/gradients/SkGradientShaderPriv.h
|
| +++ b/src/effects/gradients/SkGradientShaderPriv.h
|
| @@ -237,6 +237,8 @@ protected:
|
|
|
| void commonAsAGradient(GradientInfo*, bool flipGrad = false) const;
|
|
|
| + virtual bool onAsLuminanceColor(SkColor*) const SK_OVERRIDE;
|
| +
|
| /*
|
| * Takes in pointers to gradient color and Rec info as colorSrc and recSrc respectively.
|
| * Count is the number of colors in the gradient
|
|
|