diff options
author | scroggo <scroggo@google.com> | 2015-12-10 13:31:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-10 13:31:59 -0800 |
commit | 96f16e835e32665ea5af605e52715dbf43367291 (patch) | |
tree | 4ec1d4b16fad352a3f548d330ad099fde196e3e4 /gm/pathfill.cpp | |
parent | 4e56772432825e174b8f9a3370235381482a8f51 (diff) |
Use DEF_GM everywhere
BUG=skia:1902
Review URL: https://codereview.chromium.org/1518893002
Diffstat (limited to 'gm/pathfill.cpp')
-rw-r--r-- | gm/pathfill.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp index f4e42e8165..a524588241 100644 --- a/gm/pathfill.cpp +++ b/gm/pathfill.cpp @@ -215,8 +215,5 @@ private: /////////////////////////////////////////////////////////////////////////////// -static skiagm::GM* MyFactory(void*) { return new PathFillGM; } -static skiagm::GMRegistry reg(MyFactory); - -static skiagm::GM* F1(void*) { return new PathInverseFillGM; } -static skiagm::GMRegistry gR1(F1); +DEF_GM( return new PathFillGM; ) +DEF_GM( return new PathInverseFillGM; ) |