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

Unified Diff: cc/test/fake_picture_pile_impl.cc

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better unittest Created 6 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_picture_pile_impl.cc
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc
index 57a50742e3f0014639f388aa49ab5e5d5f5132ae..3601539f5f3be6c2dcbff3221819f43ab39fa61c 100644
--- a/cc/test/fake_picture_pile_impl.cc
+++ b/cc/test/fake_picture_pile_impl.cc
@@ -84,8 +84,13 @@ void FakePicturePileImpl::AddRecordingAt(int x, int y) {
gfx::Rect bounds(tiling().TileBounds(x, y));
bounds.Inset(-buffer_pixels(), -buffer_pixels());
- scoped_refptr<Picture> picture(Picture::Create(
- bounds, &client_, tile_grid_info_, true, 0, Picture::RECORD_NORMALLY));
+ scoped_refptr<Picture> picture(Picture::Create(bounds,
+ &client_,
+ tile_grid_info_,
+ true,
+ false,
+ 0,
+ 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