diff options
author | reed <reed@chromium.org> | 2015-04-11 19:29:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-11 19:29:31 -0700 |
commit | ffab15f60e784dfb7c29608968dc3030c3f7fc68 (patch) | |
tree | 0da108f03ea57920f9dc1015009113d975517b0b /gm/drawfilter.cpp | |
parent | 51985e3f5e608d369e52832b7ce489d85d402422 (diff) |
use anon namespace to avoid (silent) collisions between local test classes
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1079813002
Diffstat (limited to 'gm/drawfilter.cpp')
-rw-r--r-- | gm/drawfilter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/drawfilter.cpp b/gm/drawfilter.cpp index 40323c9ac8..8c29f07b02 100644 --- a/gm/drawfilter.cpp +++ b/gm/drawfilter.cpp @@ -19,6 +19,7 @@ * the second red and sharp. */ +namespace { class TestFilter : public SkDrawFilter { public: bool filter(SkPaint* p, Type) override { @@ -27,6 +28,7 @@ public: return true; } }; +} class DrawFilterGM : public skiagm::GM { SkAutoTUnref<SkMaskFilter> fBlur; |