Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 32a65709546258c03ac6443a1923b9e1b661a441..07cb09f381252b96c7ad229af03ef52995df814c 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -118,7 +118,7 @@ static SkPMColor OverdrawXferModeProc(SkPMColor src, SkPMColor dst) { |
class SkOverdrawFilter : public SkDrawFilter { |
public: |
SkOverdrawFilter() { |
- fXferMode = new SkProcXfermode(OverdrawXferModeProc); |
+ fXferMode = SkProcXfermode::Create(OverdrawXferModeProc); |
} |
virtual ~SkOverdrawFilter() { |