Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 44120a220f7ab84f3b2e16eca5326fdb61dba851..f847765ee94f6f41760435c38b3fcf1baa803a14 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -357,9 +357,7 @@ SkBitmap::Config SkGpuDevice::config() const { |
if (NULL == fRenderTarget) { |
return SkBitmap::kNo_Config; |
} |
- |
- bool isOpaque; |
- return grConfig2skConfig(fRenderTarget->config(), &isOpaque); |
+ return SkColorTypeToBitmapConfig(fRenderTarget->info().colorType()); |
} |
#endif |