Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 70f692acf4387ed3ca3d49c92057b75ca2212488..dd97380bbdb88eab9f9bef78ec38fe315733bbe3 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -400,7 +400,7 @@ const GrFragmentProcessor* SkBitmapProcShader::asFragmentProcessor(GrContext* co |
return nullptr; |
} |
- SkAutoTUnref<GrFragmentProcessor> inner; |
+ SkAutoTUnref<const GrFragmentProcessor> inner; |
if (doBicubic) { |
inner.reset(GrBicubicEffect::Create(texture, matrix, tm)); |
} else { |