Index: skia/ext/bitmap_platform_device_mac.cc |
diff --git a/skia/ext/bitmap_platform_device_mac.cc b/skia/ext/bitmap_platform_device_mac.cc |
index f30a405a2689fec3543b145909efa38b55cb41a5..8cd492059a779b6f3d8d76f9a25f0801b919e2c9 100644 |
--- a/skia/ext/bitmap_platform_device_mac.cc |
+++ b/skia/ext/bitmap_platform_device_mac.cc |
@@ -239,7 +239,7 @@ void BitmapPlatformDevice::DrawToNativeContext(CGContextRef context, int x, |
SkBaseDevice* BitmapPlatformDevice::onCreateDevice(const SkImageInfo& info, |
Usage /*usage*/) { |
- SkASSERT(info.colorType() == kPMColor_SkColorType); |
+ SkASSERT(info.colorType() == kN32_SkColorType); |
return BitmapPlatformDevice::CreateAndClear(info.width(), info.height(), |
info.isOpaque()); |
} |