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

Unified Diff: include/core/SkXfermode.h

Issue 240533003: Orphan ProcXfermode, with an eye towards removing it (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: guard toString Created 6 years, 8 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 | « no previous file | src/core/SkXfermode.cpp » ('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 4af6cb43d182504f0d99a1a46f17b84da0107891..9bad1e8d37b2e9302dd3edf372c7921affe8d275 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -17,6 +17,8 @@ class GrEffectRef;
class GrTexture;
class SkString;
+//#define SK_SUPPORT_LEGACY_PROCXFERMODE
+
/** \class SkXfermode
*
* SkXfermode is the base class for objects that are called to implement custom
@@ -246,6 +248,7 @@ private:
///////////////////////////////////////////////////////////////////////////////
+#ifdef SK_SUPPORT_LEGACY_PROCXFERMODE
/** \class SkProcXfermode
SkProcXfermode is a xfermode that applies the specified proc to its colors.
@@ -291,5 +294,6 @@ private:
typedef SkXfermode INHERITED;
};
+#endif
#endif
« no previous file with comments | « no previous file | src/core/SkXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698