Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index bee3a50f3b420a961c8ee41cfc9a3f7ef30e6c53..81d70a7ff9fa23a6d4f5647a9f306e0045adf910 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -87,7 +87,7 @@ |
#endif |
#if SK_SUPPORT_GPU |
- virtual GrEffect* asNewEffect(GrContext*) const SK_OVERRIDE; |
+ virtual GrEffectRef* asNewEffect(GrContext*) const SK_OVERRIDE; |
#endif |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkModeColorFilter) |
@@ -409,7 +409,7 @@ |
return ModeColorFilterEffect::Create(color, mode); |
} |
-GrEffect* SkModeColorFilter::asNewEffect(GrContext*) const { |
+GrEffectRef* SkModeColorFilter::asNewEffect(GrContext*) const { |
if (SkXfermode::kDst_Mode != fMode) { |
return ModeColorFilterEffect::Create(SkColor2GrColor(fColor), fMode); |
} |