Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index ddfa80e197365e477909db18a3e9accb399458a1..9083814d1a66b97a00e05436f0dd8e7c61ab44ee 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -656,7 +656,7 @@ |
return false; |
} |
-bool SkXfermode::asXPFactory(const GrXPFactory**) const { |
+bool SkXfermode::asXPFactory(GrXPFactory**) const { |
return false; |
} |
@@ -664,7 +664,7 @@ |
#if SK_SUPPORT_GPU |
#include "effects/GrPorterDuffXferProcessor.h" |
-bool SkXfermode::AsXPFactory(SkXfermode* xfermode, const GrXPFactory** xpf) { |
+bool SkXfermode::AsXPFactory(SkXfermode* xfermode, GrXPFactory** xpf) { |
if (nullptr == xfermode) { |
if (xpf) { |
*xpf = GrPorterDuffXPFactory::Create(kSrcOver_Mode); |
@@ -675,7 +675,7 @@ |
} |
} |
#else |
-bool SkXfermode::AsXPFactory(SkXfermode* xfermode, const GrXPFactory** xpf) { |
+bool SkXfermode::AsXPFactory(SkXfermode* xfermode, GrXPFactory** xpf) { |
return false; |
} |
#endif |
@@ -932,7 +932,7 @@ |
return true; |
} |
-bool SkProcCoeffXfermode::asXPFactory(const GrXPFactory** xp) const { |
+bool SkProcCoeffXfermode::asXPFactory(GrXPFactory** xp) const { |
if (CANNOT_USE_COEFF != fSrcCoeff) { |
if (xp) { |
*xp = GrPorterDuffXPFactory::Create(fMode); |