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

Unified Diff: include/effects/SkPorterDuff.h

Issue 758133004: Add SK_SUPPORT_LEGACY_PORTER_DUFF macro. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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/skia_for_android_framework_defines.gypi ('k') | src/effects/SkPorterDuff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkPorterDuff.h
diff --git a/include/effects/SkPorterDuff.h b/include/effects/SkPorterDuff.h
index e984e8e9b427d1162ff6e004f3c1807a8f3ca0d0..1e2b157d5968b59dbde9129ad5f7d9d165965839 100644
--- a/include/effects/SkPorterDuff.h
+++ b/include/effects/SkPorterDuff.h
@@ -11,6 +11,10 @@
#include "SkColor.h"
#include "SkXfermode.h"
+//#define SK_SUPPORT_LEGACY_PORTER_DUFF
+
reed1 2014/12/03 13:41:11 // Temporary guard until we can remove the depende
tfarina 2014/12/03 21:02:29 Done.
+#ifdef SK_SUPPORT_LEGACY_PORTER_DUFF
+
class SkXfermode;
class SK_API SkPorterDuff {
@@ -77,3 +81,5 @@ public:
} SK_ATTR_DEPRECATED("use SkXfermode::Mode");
#endif
+
+#endif
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | src/effects/SkPorterDuff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698