aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/DrawFilterTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp
index d01fa07338..13ae5c6bd0 100644
--- a/tests/DrawFilterTest.cpp
+++ b/tests/DrawFilterTest.cpp
@@ -10,12 +10,14 @@
#include "SkSurface.h"
#include "Test.h"
+namespace {
class TestFilter : public SkDrawFilter {
public:
bool filter(SkPaint* p, Type) override {
return true;
}
};
+}
/**
* canvas.setDrawFilter is defined to be local to the save/restore block, such that if you