aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/pathfill.cpp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-12-10 13:31:59 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-10 13:31:59 -0800
commit96f16e835e32665ea5af605e52715dbf43367291 (patch)
tree4ec1d4b16fad352a3f548d330ad099fde196e3e4 /gm/pathfill.cpp
parent4e56772432825e174b8f9a3370235381482a8f51 (diff)
Use DEF_GM everywhere
Diffstat (limited to 'gm/pathfill.cpp')
-rw-r--r--gm/pathfill.cpp7
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; )