Index: Source/platform/graphics/skia/NativeImageSkia.cpp |
diff --git a/Source/platform/graphics/skia/NativeImageSkia.cpp b/Source/platform/graphics/skia/NativeImageSkia.cpp |
index a14cd4da94f893c9c2d4856f7e1ad1e04beb20b9..5d1be831229c9ee663588d7d42b2d8b6affbada7 100644 |
--- a/Source/platform/graphics/skia/NativeImageSkia.cpp |
+++ b/Source/platform/graphics/skia/NativeImageSkia.cpp |
@@ -164,9 +164,10 @@ void NativeImageSkia::draw( |
TRACE_EVENT0("skia", "NativeImageSkia::draw"); |
bool isLazyDecoded = DeferredImageDecoder::isLazyDecoded(bitmap()); |
+ bool isOpaque = bitmap().isOpaque(); |
SkPaint paint; |
- context->preparePaintForDrawRectToRect(&paint, srcRect, destRect, compositeOp, blendMode, isLazyDecoded, isDataComplete()); |
+ context->preparePaintForDrawRectToRect(&paint, srcRect, destRect, compositeOp, blendMode, !isOpaque, isLazyDecoded, isDataComplete()); |
// We want to filter it if we decided to do interpolation above, or if |
// there is something interesting going on with the matrix (like a rotation). |
// Note: for serialization, we will want to subset the bitmap first so we |