Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index d69e4afab2b6817c3642578247e609fbcf8f18ad..40663b2e039f93d00bbf71aaffd007147eb62434 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -101,8 +101,7 @@ SkMetaData& SkBaseDevice::getMetaData() { |
// TODO: should make this guy pure-virtual. |
SkImageInfo SkBaseDevice::imageInfo() const { |
- return SkImageInfo::Make(this->width(), this->height(), |
- kUnknown_SkColorType, kIgnore_SkAlphaType); |
+ return SkImageInfo::MakeUnknown(this->width(), this->height()); |
} |
const SkBitmap& SkBaseDevice::accessBitmap(bool changePixels) { |