Chromium Code Reviews| Index: gm/pixelxorxfermode.cpp |
| diff --git a/gm/pixelxorxfermode.cpp b/gm/pixelxorxfermode.cpp |
| index 35926a81c6cd85a82153bc081c4b4ef01e9f5d1b..1692671d3eecbe9b780da857160f6098b89912cf 100644 |
| --- a/gm/pixelxorxfermode.cpp |
| +++ b/gm/pixelxorxfermode.cpp |
| @@ -12,6 +12,8 @@ |
| #include "SkPixelXorXfermode.h" |
| #include "SkStream.h" |
| +#if SK_INCLUDE_DEPRECATED_XFERMODES |
|
f(malita)
2016/01/27 20:02:04
Nit: would it make more sense to use SK_SUPPORT_LE
f(malita)
2016/01/27 20:44:45
Per conversation, LGTM.
|
| + |
| class PixelXorXfermodeGM : public skiagm::GM { |
| public: |
| PixelXorXfermodeGM() { } |
| @@ -91,3 +93,5 @@ private: |
| ////////////////////////////////////////////////////////////////////////////// |
| DEF_GM(return new PixelXorXfermodeGM;) |
| + |
| +#endif |