Index: gm/pathfill.cpp |
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp |
index f4e42e8165a8e5c639a7987316d4674d08d7e959..a524588241a481e85c386319da38673c1db5742e 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; ) |