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

Unified Diff: tests/DrawFilterTest.cpp

Issue 1626543002: Add SK_SUPPORT_LEGACY_DRAWFILTER guard around calls to SkCanvas::(get|set)DrawFilter. (Closed) Base URL: https://skia.googlesource.com/skia@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
« no previous file with comments | « tests/CanvasTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/DrawFilterTest.cpp
diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp
index 6381a3c8fa158e00982f5688f655facca0bd8bce..f3e0a77306c8dba5e1267845371ca118be38132d 100644
--- a/tests/DrawFilterTest.cpp
+++ b/tests/DrawFilterTest.cpp
@@ -10,6 +10,8 @@
#include "SkSurface.h"
#include "Test.h"
+#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
+
namespace {
class TestFilter : public SkDrawFilter {
public:
@@ -43,3 +45,5 @@ static void test_saverestore(skiatest::Reporter* reporter) {
DEF_TEST(DrawFilter, reporter) {
test_saverestore(reporter);
}
+
+#endif
« no previous file with comments | « tests/CanvasTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698