Index: src/gpu/effects/GrBicubicEffect.cpp |
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
index 0a06b62c416e14c01f683af12befb47d09994065..5e6967ce4bbaebf6776c07e15f742b2d2474f896 100644 |
--- a/src/gpu/effects/GrBicubicEffect.cpp |
+++ b/src/gpu/effects/GrBicubicEffect.cpp |
@@ -179,14 +179,14 @@ void GrBicubicEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrBicubicEffect); |
-const GrFragmentProcessor* GrBicubicEffect::TestCreate(GrProcessorTestData* d) { |
+sk_sp<GrFragmentProcessor> GrBicubicEffect::TestCreate(GrProcessorTestData* d) { |
int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : |
GrProcessorUnitTest::kAlphaTextureIdx; |
SkScalar coefficients[16]; |
for (int i = 0; i < 16; i++) { |
coefficients[i] = d->fRandom->nextSScalar1(); |
} |
- return GrBicubicEffect::Create(d->fTextures[texIdx], coefficients); |
+ return GrBicubicEffect::Make(d->fTextures[texIdx], coefficients); |
} |
////////////////////////////////////////////////////////////////////////////// |