diff options
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index d69e4afab2..40663b2e03 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) { |