Index: gm/drawfilter.cpp |
diff --git a/gm/drawfilter.cpp b/gm/drawfilter.cpp |
index cd1bbb0c16355c9c16fd2539da1eadd01ab1e935..d17eb4f52fcfc02220daaae537fb31dd4fd50a24 100644 |
--- a/gm/drawfilter.cpp |
+++ b/gm/drawfilter.cpp |
@@ -12,6 +12,8 @@ |
#include "SkDrawFilter.h" |
#include "SkPaint.h" |
+#ifdef SK_SUPPORT_LEGACY_DRAWFILTER |
+ |
/** |
* Initial test coverage for SkDrawFilter. |
* Draws two rectangles; if draw filters are broken, they will match. |
@@ -70,3 +72,4 @@ private: |
DEF_GM( return new DrawFilterGM; ) |
+#endif |