| Index: src/effects/gradients/SkGradientShaderPriv.h
|
| diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h
|
| index 1d0f008917d42d974c393d3fb4c31dbd580d8572..f4f53dee25a4611d07b84176bce8def9436913c8 100644
|
| --- a/src/effects/gradients/SkGradientShaderPriv.h
|
| +++ b/src/effects/gradients/SkGradientShaderPriv.h
|
| @@ -205,6 +205,11 @@ protected:
|
|
|
| void commonAsAGradient(GradientInfo*) const;
|
|
|
| + // V23_COMPATIBILITY_CODE
|
| + // Used for 2-pt conical gradients since we sort start/end cirlces by radius
|
| + // Assumes space has already been allocated for fOrigColors
|
| + void flipGradientColors();
|
| +
|
| private:
|
| enum {
|
| kColorStorageCount = 4, // more than this many colors, and we'll use sk_malloc for the space
|
|
|