| Index: gm/colortype.cpp
|
| diff --git a/gm/colortype.cpp b/gm/colortype.cpp
|
| index 8e696641300cb2b38575da17ea5f794adc233653..4d8c9d60568ba101ebff813662f83d4132420148 100644
|
| --- a/gm/colortype.cpp
|
| +++ b/gm/colortype.cpp
|
| @@ -40,7 +40,7 @@ protected:
|
| if (NULL == orig) {
|
| orig = SkTypeface::RefDefault();
|
| }
|
| - fColorType = SkNEW_ARGS(SkGTypeface, (orig, paint));
|
| + fColorType = new SkGTypeface(orig, paint);
|
| orig->unref();
|
| }
|
|
|
| @@ -70,4 +70,4 @@ private:
|
| typedef skiagm::GM INHERITED;
|
| };
|
|
|
| -DEF_GM( return SkNEW(ColorTypeGM); )
|
| +DEF_GM(return new ColorTypeGM;)
|
|
|