Index: src/effects/SkArithmeticMode_gpu.cpp |
diff --git a/src/effects/SkArithmeticMode_gpu.cpp b/src/effects/SkArithmeticMode_gpu.cpp |
index 7732917e4209087e37ea44f22ef98b28f9ff581c..fd20b73cdc46770b0981ce1d2227fc56f8cddce1 100644 |
--- a/src/effects/SkArithmeticMode_gpu.cpp |
+++ b/src/effects/SkArithmeticMode_gpu.cpp |
@@ -137,7 +137,7 @@ void GrArithmeticFP::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
/////////////////////////////////////////////////////////////////////////////// |
-GrFragmentProcessor* GrArithmeticFP::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* GrArithmeticFP::TestCreate(GrProcessorTestData* d) { |
float k1 = d->fRandom->nextF(); |
float k2 = d->fRandom->nextF(); |
float k3 = d->fRandom->nextF(); |
@@ -295,7 +295,7 @@ void GrArithmeticXPFactory::getInvariantBlendedColor(const GrProcOptInfo& colorP |
GR_DEFINE_XP_FACTORY_TEST(GrArithmeticXPFactory); |
-GrXPFactory* GrArithmeticXPFactory::TestCreate(GrProcessorTestData* d) { |
+const GrXPFactory* GrArithmeticXPFactory::TestCreate(GrProcessorTestData* d) { |
float k1 = d->fRandom->nextF(); |
float k2 = d->fRandom->nextF(); |
float k3 = d->fRandom->nextF(); |