Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 8f1a4d7e65644e7ac31f5858d28c87940991e8ce..0f95a81596121b47d3f109a5608c6cba0133184e 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -337,6 +337,7 @@ SkColorFilter* SkTable_ColorFilter::newComposed(const SkColorFilter* innerFilter |
#include "effects/GrTextureStripAtlas.h" |
#include "gl/GrGLFragmentProcessor.h" |
#include "gl/builders/GrGLProgramBuilder.h" |
+#include "glsl/GrGLSLProgramDataManager.h" |
class ColorTableEffect : public GrFragmentProcessor { |
public: |
@@ -382,7 +383,7 @@ public: |
static void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder* b) {} |
protected: |
- void onSetData(const GrGLProgramDataManager&, const GrProcessor&) override; |
+ void onSetData(const GrGLSLProgramDataManager&, const GrProcessor&) override; |
private: |
UniformHandle fRGBAYValuesUni; |
@@ -392,7 +393,7 @@ private: |
GLColorTableEffect::GLColorTableEffect(const GrProcessor&) { |
} |
-void GLColorTableEffect::onSetData(const GrGLProgramDataManager& pdm, const GrProcessor& proc) { |
+void GLColorTableEffect::onSetData(const GrGLSLProgramDataManager& pdm, const GrProcessor& proc) { |
// The textures are organized in a strip where the rows are ordered a, r, g, b. |
float rgbaYValues[4]; |
const ColorTableEffect& cte = proc.cast<ColorTableEffect>(); |