From c21b09eec91c9e263cb0b88467ea44e348ed4962 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Fri, 28 Aug 2015 18:46:56 -0700 Subject: Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* Committed: https://skia.googlesource.com/skia/+/ecfdc251be71f3d634e76afdd6375bf55fc061aa Review URL: https://codereview.chromium.org/1316513002 --- src/effects/SkAlphaThresholdFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/effects/SkAlphaThresholdFilter.cpp') diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp index 0f96cdf59a..b28a62bcd7 100644 --- a/src/effects/SkAlphaThresholdFilter.cpp +++ b/src/effects/SkAlphaThresholdFilter.cpp @@ -195,7 +195,7 @@ void GrGLAlphaThresholdEffect::onSetData(const GrGLProgramDataManager& pdman, GR_DEFINE_FRAGMENT_PROCESSOR_TEST(AlphaThresholdEffect); -GrFragmentProcessor* AlphaThresholdEffect::TestCreate(GrProcessorTestData* d) { +const GrFragmentProcessor* AlphaThresholdEffect::TestCreate(GrProcessorTestData* d) { GrTexture* bmpTex = d->fTextures[GrProcessorUnitTest::kSkiaPMTextureIdx]; GrTexture* maskTex = d->fTextures[GrProcessorUnitTest::kAlphaTextureIdx]; float innerThresh = d->fRandom->nextUScalar1(); -- cgit v1.2.3