| Index: src/gpu/effects/GrConstColorProcessor.cpp
|
| diff --git a/src/gpu/effects/GrConstColorProcessor.cpp b/src/gpu/effects/GrConstColorProcessor.cpp
|
| index a909104b5a8f6cbb2c40deac2fe18ffb619c62a2..88bd82be409224021cccac78980882c5cb2bac93 100644
|
| --- a/src/gpu/effects/GrConstColorProcessor.cpp
|
| +++ b/src/gpu/effects/GrConstColorProcessor.cpp
|
| @@ -34,7 +34,8 @@ public:
|
| }
|
| }
|
|
|
| - void setData(const GrGLProgramDataManager& pdm, const GrProcessor& processor) override {
|
| +protected:
|
| + void onSetData(const GrGLProgramDataManager& pdm, const GrProcessor& processor) override {
|
| GrColor color = processor.cast<GrConstColorProcessor>().color();
|
| // We use the "illegal" color value as an uninit sentinel. However, ut isn't inherently
|
| // illegal to use this processor with unpremul colors. So we correctly handle the case
|
| @@ -89,7 +90,7 @@ void GrConstColorProcessor::onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKe
|
| b->add32(fMode);
|
| }
|
|
|
| -GrGLFragmentProcessor* GrConstColorProcessor::createGLInstance() const {
|
| +GrGLFragmentProcessor* GrConstColorProcessor::onCreateGLInstance() const {
|
| return SkNEW(GLConstColorProcessor);
|
| }
|
|
|
|
|