use anon namespace to avoid (silent) collisions between local test classes
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1079813002
diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp
index d01fa07..13ae5c6 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