Index: src/effects/gradients/SkGradientShaderPriv.h |
diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h |
index 01c53e86e2a148de326e3d044565fa5e6180e886..2286c22fd5045d844a7f52f793dbefe155e2b0db 100644 |
--- a/src/effects/gradients/SkGradientShaderPriv.h |
+++ b/src/effects/gradients/SkGradientShaderPriv.h |
@@ -297,6 +297,7 @@ static inline int next_dither_toggle16(int toggle) { |
#include "GrCoordTransform.h" |
#include "GrFragmentProcessor.h" |
#include "gl/GrGLFragmentProcessor.h" |
+#include "glsl/GrGLSLProgramDataManager.h" |
class GrInvariantOutput; |
@@ -401,7 +402,7 @@ public: |
virtual ~GrGLGradientEffect(); |
protected: |
- void onSetData(const GrGLProgramDataManager&, const GrProcessor&) override; |
+ void onSetData(const GrGLSLProgramDataManager&, const GrProcessor&) override; |
protected: |
/** |
@@ -444,10 +445,10 @@ private: |
GR_STATIC_ASSERT(kBaseKeyBitCnt <= 32); |
SkScalar fCachedYCoord; |
- GrGLProgramDataManager::UniformHandle fFSYUni; |
- GrGLProgramDataManager::UniformHandle fColorStartUni; |
- GrGLProgramDataManager::UniformHandle fColorMidUni; |
- GrGLProgramDataManager::UniformHandle fColorEndUni; |
+ GrGLSLProgramDataManager::UniformHandle fFSYUni; |
+ GrGLSLProgramDataManager::UniformHandle fColorStartUni; |
+ GrGLSLProgramDataManager::UniformHandle fColorMidUni; |
+ GrGLSLProgramDataManager::UniformHandle fColorEndUni; |
typedef GrGLFragmentProcessor INHERITED; |
}; |