Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1638)

Unified Diff: cc/playback/raster_source.cc

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: remove include Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/playback/raster_source.h ('k') | cc/test/fake_layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/playback/raster_source.h ('k') | cc/test/fake_layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698