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

Unified Diff: cc/test/fake_raster_source.cc

Issue 2075873002: Support general raster matrix for RasterSource and DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a bug in PrepareForPlaybackToCanvas and fix cc_unittests Created 4 years, 6 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_raster_source.cc
diff --git a/cc/test/fake_raster_source.cc b/cc/test/fake_raster_source.cc
index 00af0f784e4b7f22b7ae2e773c41ea1a2663ca98..db48517c5b07a4097e61e9e8529fd277f94f9191 100644
--- a/cc/test/fake_raster_source.cc
+++ b/cc/test/fake_raster_source.cc
@@ -140,15 +140,10 @@ FakeRasterSource::~FakeRasterSource() {}
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,
- settings);
+ RasterSource::PlaybackToCanvas(canvas, settings);
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698