Index: cc/playback/raster_source.cc |
diff --git a/cc/playback/raster_source.cc b/cc/playback/raster_source.cc |
index 6674ec6698602854af4e8cc2cb137227f56facde..e30af460786d23f94c78d0974ea5f4c118b76849 100644 |
--- a/cc/playback/raster_source.cc |
+++ b/cc/playback/raster_source.cc |
@@ -90,8 +90,8 @@ void RasterSource::PlaybackToCanvas(SkCanvas* raster_canvas, |
RasterCommon(&canvas, nullptr); |
} else if (settings.use_image_hijack_canvas) { |
const SkImageInfo& info = raster_canvas->imageInfo(); |
- |
- ImageHijackCanvas canvas(info.width(), info.height(), image_decode_cache_); |
+ ImageHijackCanvas canvas(info.width(), info.height(), image_decode_cache_, |
+ &settings.images_to_skip); |
// Before adding the canvas, make sure that the ImageHijackCanvas is aware |
// of the current transform and clip, which may affect the clip bounds. |
// Since we query the clip bounds of the current canvas to get the list of |
@@ -312,4 +312,11 @@ RasterSource::PlaybackSettings::PlaybackSettings() |
skip_images(false), |
use_image_hijack_canvas(true) {} |
+RasterSource::PlaybackSettings::PlaybackSettings(const PlaybackSettings&) = |
+ default; |
+ |
+RasterSource::PlaybackSettings::PlaybackSettings(PlaybackSettings&&) = default; |
+ |
+RasterSource::PlaybackSettings::~PlaybackSettings() = default; |
+ |
} // namespace cc |