Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index dee5bc76afb67a85d796d73905ddd365e3fdce8d..97d5748cdb32caa6e0ee86d7b41e59ccfa1a3165 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -32,6 +32,8 @@ SkDevice::SkDevice(const SkBitmap& bitmap) |
{ |
fOrigin.setZero(); |
fMetaData = NULL; |
+ |
+ SkASSERT(SkBitmap::kARGB_4444_Config != bitmap.config()); |
} |
SkDevice::SkDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties) |