Index: src/effects/gradients/SkGradientShaderPriv.h |
diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h |
index 2ec78e727dc3b98eabcc36db80f7c47aee848a56..ecc5e34fbe03676a2b831a4c1a2a32a226d59cd1 100644 |
--- a/src/effects/gradients/SkGradientShaderPriv.h |
+++ b/src/effects/gradients/SkGradientShaderPriv.h |
@@ -102,7 +102,7 @@ public: |
class DescriptorScope : public Descriptor { |
public: |
DescriptorScope() {} |
- |
+ |
bool unflatten(SkReadBuffer&); |
// fColors and fPos always point into local memory, so they can be safely mutated |
@@ -250,11 +250,6 @@ protected: |
SkColor* colorSrc, Rec* recSrc, |
int count); |
- // 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 |