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

Unified Diff: cc/test/fake_picture_pile_impl.cc

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: rebase Created 5 years, 7 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_picture_pile_impl.h ('k') | cc/test/fake_resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_pile_impl.cc
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc
index 061779f3a2d9601b11c434d460d15bee96799fb6..9f12f8e2da91c437ef506e4da684e4070a719cd6 100644
--- a/cc/test/fake_picture_pile_impl.cc
+++ b/cc/test/fake_picture_pile_impl.cc
@@ -104,12 +104,15 @@ scoped_refptr<FakePicturePileImpl> FakePicturePileImpl::CreateFromPile(
new FakePicturePileImpl(other, playback_allowed_event));
}
-void FakePicturePileImpl::PlaybackToCanvas(SkCanvas* canvas,
- const gfx::Rect& canvas_rect,
- float contents_scale) const {
+void FakePicturePileImpl::PlaybackToCanvas(
+ SkCanvas* canvas,
+ const gfx::Rect& canvas_bitmap_rect,
+ const gfx::Rect& canvas_playback_rect,
+ float contents_scale) const {
if (playback_allowed_event_)
playback_allowed_event_->Wait();
- PicturePileImpl::PlaybackToCanvas(canvas, canvas_rect, contents_scale);
+ PicturePileImpl::PlaybackToCanvas(canvas, canvas_bitmap_rect,
+ canvas_playback_rect, contents_scale);
}
bool FakePicturePileImpl::HasRecordingAt(int x, int y) const {
« no previous file with comments | « cc/test/fake_picture_pile_impl.h ('k') | cc/test/fake_resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698