Chromium Code Reviews| Index: gm/lighting.cpp |
| diff --git a/gm/lighting.cpp b/gm/lighting.cpp |
| index 345e11e5a9a066b8ae57e17a52453c655d2c584c..4fbb806729c2652f050ff914b9fe40ec96185367 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); ) |
| } |