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