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

Unified Diff: cc/test/fake_raster_source.cc

Issue 1854513002: cc: Add RasterSource::PlaybackSettings for finer control of raster. (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
« no previous file with comments | « cc/test/fake_raster_source.h ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_raster_source.cc
diff --git a/cc/test/fake_raster_source.cc b/cc/test/fake_raster_source.cc
index f6e29015714daba59444b12f8e99195503487450..00af0f784e4b7f22b7ae2e773c41ea1a2663ca98 100644
--- a/cc/test/fake_raster_source.cc
+++ b/cc/test/fake_raster_source.cc
@@ -138,16 +138,17 @@ FakeRasterSource::FakeRasterSource(const RecordingSource* recording_source,
FakeRasterSource::~FakeRasterSource() {}
-void FakeRasterSource::PlaybackToCanvas(SkCanvas* canvas,
- const gfx::Rect& canvas_bitmap_rect,
- const gfx::Rect& canvas_playback_rect,
- float contents_scale,
- bool include_images) const {
+void FakeRasterSource::PlaybackToCanvas(
+ SkCanvas* canvas,
+ const gfx::Rect& canvas_bitmap_rect,
+ const gfx::Rect& canvas_playback_rect,
+ float contents_scale,
+ const PlaybackSettings& settings) const {
if (playback_allowed_event_)
playback_allowed_event_->Wait();
RasterSource::PlaybackToCanvas(canvas, canvas_bitmap_rect,
canvas_playback_rect, contents_scale,
- include_images);
+ settings);
}
} // namespace cc
« no previous file with comments | « cc/test/fake_raster_source.h ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698