| Index: gm/selftest.cpp
|
| diff --git a/gm/selftest.cpp b/gm/selftest.cpp
|
| index 332a0cd27503849d3eb88ede816d81a53076568c..b54a528bee3408a143397dbfdd1db9e82012be6e 100644
|
| --- a/gm/selftest.cpp
|
| +++ b/gm/selftest.cpp
|
| @@ -48,12 +48,5 @@ private:
|
| static SkColor kTranslucentGreen = 0x7700EE00;
|
| static SkColor kTranslucentBlue = 0x770000DD;
|
|
|
| -static skiagm::GM* F1(void*) {
|
| - return new SelfTestGM("selftest1", kTranslucentGreen);
|
| -}
|
| -static skiagm::GM* F2(void*) {
|
| - return new SelfTestGM("selftest2", kTranslucentBlue);
|
| -}
|
| -
|
| -static skiagm::GMRegistry gR1(F1);
|
| -static skiagm::GMRegistry gR2(F2);
|
| +DEF_GM( return new SelfTestGM("selftest1", kTranslucentGreen); )
|
| +DEF_GM( return new SelfTestGM("selftest2", kTranslucentBlue); )
|
|
|