Index: cc/tiles/image_controller.cc |
diff --git a/cc/tiles/image_controller.cc b/cc/tiles/image_controller.cc |
index 698dc79e2510b8cf78edfc2239cfde3dff78b49c..af4bf092aa68435f1d5179a179fecdb4b743ff88 100644 |
--- a/cc/tiles/image_controller.cc |
+++ b/cc/tiles/image_controller.cc |
@@ -195,8 +195,9 @@ ImageController::ImageDecodeRequestId ImageController::QueueImageDecode( |
DCHECK(image); |
bool is_image_lazy = image->isLazyGenerated(); |
auto image_bounds = image->bounds(); |
- DrawImage draw_image(std::move(image), image_bounds, kNone_SkFilterQuality, |
- SkMatrix::I(), target_color_space); |
+ DrawImage draw_image(PaintImage(std::move(image)), image_bounds, |
+ kNone_SkFilterQuality, SkMatrix::I(), |
+ target_color_space); |
// Get the tasks for this decode. |
scoped_refptr<TileTask> task; |