Index: src/effects/SkPixelXorXfermode.cpp |
diff --git a/src/effects/SkPixelXorXfermode.cpp b/src/effects/SkPixelXorXfermode.cpp |
index 833eecd85940f4fd6c37856d863d2edb691f04dc..7432ef132b066ca022681b8c1907a5c68e51d9f5 100644 |
--- a/src/effects/SkPixelXorXfermode.cpp |
+++ b/src/effects/SkPixelXorXfermode.cpp |
@@ -368,19 +368,13 @@ const GrXPFactory* GrPixelXorXPFactory::TestCreate(GrProcessorTestData* d) { |
/////////////////////////////////////////////////////////////////////////////// |
-bool SkPixelXorXfermode::asFragmentProcessor(const GrFragmentProcessor** output, |
- const GrFragmentProcessor* dst) const { |
- if (output) { |
- *output = PixelXorFP::Create(fOpColor, dst); |
- } |
- return true; |
+const GrFragmentProcessor* SkPixelXorXfermode::getFragmentProcessorForImageFilter( |
+ const GrFragmentProcessor* dst) const { |
+ return PixelXorFP::Create(fOpColor, dst); |
} |
-bool SkPixelXorXfermode::asXPFactory(GrXPFactory** xpf) const { |
- if (xpf) { |
- *xpf = GrPixelXorXPFactory::Create(fOpColor); |
- } |
- return true; |
+GrXPFactory* SkPixelXorXfermode::asXPFactory() const { |
+ return GrPixelXorXPFactory::Create(fOpColor); |
} |
#endif |