Index: src/effects/SkBicubicImageFilter.cpp |
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp |
index e44b717003bf4293c173ae8926f1a6e1f16a5230..cf71435cde6104006faa35f7e7b41e5019494fd3 100644 |
--- a/src/effects/SkBicubicImageFilter.cpp |
+++ b/src/effects/SkBicubicImageFilter.cpp |
@@ -85,7 +85,7 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy, |
const SkBitmap& source, |
const SkMatrix& matrix, |
SkBitmap* result, |
- SkIPoint* offset) { |
+ SkIPoint* offset) const { |
SkBitmap src = source; |
SkIPoint srcOffset = SkIPoint::Make(0, 0); |
if (getInput(0) && !getInput(0)->filterImage(proxy, source, matrix, &src, &srcOffset)) { |
@@ -170,7 +170,7 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy, |
#if SK_SUPPORT_GPU |
bool SkBicubicImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, |
- SkBitmap* result, SkIPoint* offset) { |
+ SkBitmap* result, SkIPoint* offset) const { |
SkBitmap srcBM; |
if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, ctm, &srcBM, offset)) { |
return false; |