| Index: gm/gammatext.cpp
|
| diff --git a/gm/gammatext.cpp b/gm/gammatext.cpp
|
| index 7ee55db2fb61677882fe6f7b073ed44eec29905f..f520754123e494eced003db8a2fe4222f5096163 100644
|
| --- a/gm/gammatext.cpp
|
| +++ b/gm/gammatext.cpp
|
| @@ -40,7 +40,7 @@ static bool setFont(SkPaint* paint, const char name[]) {
|
|
|
| static CGContextRef makeCG(const SkImageInfo& info, const void* addr,
|
| size_t rowBytes) {
|
| - if (kPMColor_SkColorType != info.colorType() || NULL == addr) {
|
| + if (kN32_SkColorType != info.colorType() || NULL == addr) {
|
| return NULL;
|
| }
|
| CGColorSpaceRef space = CGColorSpaceCreateDeviceRGB();
|
|
|