Index: gm/arithmode.cpp |
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp |
index 1e50e892f7d5ad04ea661ba2c0964e03f3205c25..eb2ecb8abd0fe891771d636f059ed1eb48be55d3 100644 |
--- a/gm/arithmode.cpp |
+++ b/gm/arithmode.cpp |
@@ -164,5 +164,4 @@ private: |
/////////////////////////////////////////////////////////////////////////////// |
-static skiagm::GM* MyFactory(void*) { return new ArithmodeGM; } |
-static skiagm::GMRegistry reg(MyFactory); |
+DEF_GM( return new ArithmodeGM; ) |