Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index 65d8bfdefa2a9ff77754b612b1dab277dbd0c609..68901064dfcdb3f2f3e3a30abb2205763b413586 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.h |
@@ -42,6 +42,7 @@ protected: |
virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
private: |
+ friend class SkGradientShader; |
typedef SkGradientShaderBase INHERITED; |
const SkPoint fStart; |
const SkPoint fEnd; |