Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 63739aee814a41a1a4b338d6009590f20eec56d8..80968a9fd84ae10bf78771f5178c695511a2fe2d 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -12,6 +12,7 @@ |
#include "SkDevice.h" |
#include "SkPaintFilterCanvas.h" |
#include "SkXfermode.h" |
+#include "SkValue.h" |
namespace { |
@@ -54,6 +55,8 @@ public: |
#ifndef SK_IGNORE_TO_STRING |
void toString(SkString* str) const override { str->set("OverdrawXfermode"); } |
#endif |
+ // We don't serialize this xfermode. |
+ SkValue asValue() const override { return SkValue(); } |
mtklein
2016/01/15 17:26:20
Let's make this the default impl on SkXfermode, at
hal.canary
2016/01/15 19:44:31
done. I'll do this with all of the SkFooPaintEffe
|
}; |
class DebugPaintFilterCanvas : public SkPaintFilterCanvas { |