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

Unified Diff: cc/test/fake_display_list_raster_source.cc

Issue 1799883002: cc: Refactor SkipImageCanvas and create it during playback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: cc/test/fake_display_list_raster_source.cc
diff --git a/cc/test/fake_display_list_raster_source.cc b/cc/test/fake_display_list_raster_source.cc
index 163559b2f5045796cb162241df2ce1c153cb0e33..8acca504aa6ca2e4c2d0029d1998ef70eed59386 100644
--- a/cc/test/fake_display_list_raster_source.cc
+++ b/cc/test/fake_display_list_raster_source.cc
@@ -148,11 +148,13 @@ void FakeDisplayListRasterSource::PlaybackToCanvas(
SkCanvas* canvas,
const gfx::Rect& canvas_bitmap_rect,
const gfx::Rect& canvas_playback_rect,
- float contents_scale) const {
+ float contents_scale,
+ bool include_images) const {
if (playback_allowed_event_)
playback_allowed_event_->Wait();
- DisplayListRasterSource::PlaybackToCanvas(
- canvas, canvas_bitmap_rect, canvas_playback_rect, contents_scale);
+ DisplayListRasterSource::PlaybackToCanvas(canvas, canvas_bitmap_rect,
+ canvas_playback_rect,
+ contents_scale, include_images);
}
} // namespace cc
« cc/playback/display_list_raster_source.cc ('K') | « cc/test/fake_display_list_raster_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698