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; |
}; |