Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: src/utils/debugger/SkDebugCanvas.cpp

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-01-15 (Friday) 11:08:28 EST Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698