Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index e545baea93f54f410ad5d98c8db77ab9e3633dde..37cbff50e2789dae0f36ca2cdd7df7a585213d35 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -25,7 +25,7 @@ |
// TODO: can we stop supporting kUnknown in SkBitmkapDevice? |
if (kUnknown_SkColorType == info.colorType()) { |
if (newAlphaType) { |
- *newAlphaType = kIgnore_SkAlphaType; |
+ *newAlphaType = kUnknown_SkAlphaType; |
} |
return true; |
} |