Index: gm/lighting.cpp |
diff --git a/gm/lighting.cpp b/gm/lighting.cpp |
index b721fef6c3aef2c2ed396d46cc9cf8a345503bf2..f6d236c382cda1bdfea07565f2e6b92aad3cba7a 100644 |
--- a/gm/lighting.cpp |
+++ b/gm/lighting.cpp |
@@ -170,7 +170,6 @@ private: |
////////////////////////////////////////////////////////////////////////////// |
-static GM* MyFactory(void*) { return new ImageLightingGM; } |
-static GMRegistry reg(MyFactory); |
+DEF_GM( return SkNEW(ImageLightingGM); ) |
} |