Index: Source/platform/graphics/skia/GaneshUtils.cpp |
diff --git a/Source/platform/graphics/skia/GaneshUtils.cpp b/Source/platform/graphics/skia/GaneshUtils.cpp |
index 7053444d0ed25e12a9e6bbc30678e479ef5deb2e..fdf51e2b67ad89602ea9da32ca0dcb76d6760fc4 100644 |
--- a/Source/platform/graphics/skia/GaneshUtils.cpp |
+++ b/Source/platform/graphics/skia/GaneshUtils.cpp |
@@ -61,7 +61,7 @@ bool ensureTextureBackedSkBitmap(GrContext* gr, SkBitmap& bitmap, const IntSize& |
SkGrPixelRef* pixelRef = SkNEW_ARGS(SkGrPixelRef, (info, texture.get())); |
if (!pixelRef) |
return false; |
- bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); |
+ bitmap.setConfig(info); |
bitmap.setPixelRef(pixelRef)->unref(); |
} |