Index: src/utils/debugger/SkOverdrawMode.cpp |
diff --git a/src/utils/debugger/SkOverdrawMode.cpp b/src/utils/debugger/SkOverdrawMode.cpp |
index 400e58309f0d73c327e7c79177680df4f7d307f4..3b695eca267f8fb2365ea9ab91452782ab8a67a8 100644 |
--- a/src/utils/debugger/SkOverdrawMode.cpp |
+++ b/src/utils/debugger/SkOverdrawMode.cpp |
@@ -291,19 +291,13 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkOverdrawXfermode) |
#if SK_SUPPORT_GPU |
- bool asFragmentProcessor(const GrFragmentProcessor** output, |
- const GrFragmentProcessor* dst) const override { |
- if (output) { |
- *output = GrOverdrawFP::Create(dst); |
- } |
- return true; |
+ const GrFragmentProcessor* getFragmentProcessorForImageFilter( |
+ const GrFragmentProcessor* dst) const override { |
+ return GrOverdrawFP::Create(dst); |
} |
- bool asXPFactory(GrXPFactory** xpf) const override { |
- if (xpf) { |
- *xpf = GrOverdrawXPFactory::Create(); |
- } |
- return true; |
+ GrXPFactory* asXPFactory() const override { |
+ return GrOverdrawXPFactory::Create(); |
} |
#endif |