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

Unified Diff: include/core/SkXfermode.h

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: space 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
« no previous file with comments | « gyp/effects.gypi ('k') | include/effects/SkLerpXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index 91268ab5f127a5ec37cf8102b4c8dafe27706839..9568b966300b7b347355f4e11e0940b912fead11 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
*
@@ -246,6 +247,9 @@ private:
kModeCount = kLastMode + 1
};
+ template<typename T> friend SkValue SkToValue(const T*);
+ virtual SkValue asValue() const;
+
typedef SkFlattenable INHERITED;
};
« no previous file with comments | « gyp/effects.gypi ('k') | include/effects/SkLerpXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698