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

Unified Diff: cc/test/fake_picture_pile_impl.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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_picture_pile_impl.cc
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc
index 8b6cb8d5e1fa0956902331d7b68215ecb59e13c8..c400298e45952bbd5a809df60295083b271f4793 100644
--- a/cc/test/fake_picture_pile_impl.cc
+++ b/cc/test/fake_picture_pile_impl.cc
@@ -24,7 +24,7 @@ FakePicturePileImpl::FakePicturePileImpl(
base::WaitableEvent* playback_allowed_event)
: PicturePileImpl(other),
playback_allowed_event_(playback_allowed_event),
- tile_grid_info_(other->GetTileGridInfoForTesting()) {
+ tile_grid_size_(other->GetTileGridSizeForTesting()) {
}
FakePicturePileImpl::~FakePicturePileImpl() {}
@@ -118,7 +118,7 @@ void FakePicturePileImpl::AddRecordingAt(int x, int y) {
bounds.Inset(-buffer_pixels(), -buffer_pixels());
scoped_refptr<Picture> picture(Picture::Create(
- bounds, &client_, tile_grid_info_, true, Picture::RECORD_NORMALLY));
+ bounds, &client_, tile_grid_size_, true, Picture::RECORD_NORMALLY));
picture_map_[std::pair<int, int>(x, y)].SetPicture(picture);
EXPECT_TRUE(HasRecordingAt(x, y));

Powered by Google App Engine
This is Rietveld 408576698