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

Unified Diff: include/effects/SkPixelXorXfermode.h

Issue 1645633003: Hide SkPixelXorXfermode from Chrome (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/effects/SkPixelXorXfermode.h
diff --git a/include/effects/SkPixelXorXfermode.h b/include/effects/SkPixelXorXfermode.h
index b6a160b581c5043480ca44287a9a46669936d69f..f7a7079813f1eeafa38493b193f1eaf27fd63692 100644
--- a/include/effects/SkPixelXorXfermode.h
+++ b/include/effects/SkPixelXorXfermode.h
@@ -10,6 +10,8 @@
#include "SkXfermode.h"
+#if SK_INCLUDE_DEPRECATED_XFERMODES
+
/** SkPixelXorXfermode implements a simple pixel xor (op ^ src ^ dst).
This transformation does not follow premultiplied conventions, therefore
this proc *always* returns an opaque color (alpha == 255). Thus it is
@@ -46,3 +48,5 @@ private:
};
#endif
+
+#endif
« gm/pixelxorxfermode.cpp ('K') | « include/core/SkPostConfig.h ('k') | src/core/SkValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698