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

Unified Diff: include/core/SkXfermode.h

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: response, also dump 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: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index 91268ab5f127a5ec37cf8102b4c8dafe27706839..dcf7569ae54df24646f00b5306089d0daee71ca5 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -17,6 +17,7 @@ class GrFragmentProcessor;
class GrTexture;
class GrXPFactory;
class SkString;
+class SkValue;
/** \class SkXfermode
*
@@ -229,6 +230,8 @@ public:
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
SK_DEFINE_FLATTENABLE_TYPE(SkXfermode)
+ virtual SkValue asValue() const = 0;
+
protected:
SkXfermode() {}
/** The default implementation of xfer32/xfer16/xferA8 in turn call this
« no previous file with comments | « gyp/core.gypi ('k') | include/effects/SkLerpXfermode.h » ('j') | src/core/SkValue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698