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

Unified Diff: cc/picture_layer_impl_unittest.cc

Issue 12221077: Fixing tile grid size used by cc:Picture to make it respect current tile configuration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix for picture_layer_impl_unittest Created 7 years, 10 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/picture.cc ('k') | cc/picture_pile.cc » ('j') | cc/picture_pile.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl_unittest.cc
diff --git a/cc/picture_layer_impl_unittest.cc b/cc/picture_layer_impl_unittest.cc
index c1845ceea29f0bd27372e5b47df98a25a5b8b9d4..a43a51583fe4cd13ed7749752fe66cccd05e77fb 100644
--- a/cc/picture_layer_impl_unittest.cc
+++ b/cc/picture_layer_impl_unittest.cc
@@ -90,7 +90,7 @@ class TestablePicturePileImpl : public PicturePileImpl {
gfx::Rect bounds(tiling().TileBounds(x, y));
scoped_refptr<Picture> picture(Picture::Create(bounds));
FakeContentLayerClient client;
- picture->Record(&client, NULL);
+ picture->Record(&client, NULL, tiling().TileStride());
picture_list_map_[std::pair<int, int>(x, y)].push_back(picture);
EXPECT_TRUE(HasRecordingAt(x, y));
« no previous file with comments | « cc/picture.cc ('k') | cc/picture_pile.cc » ('j') | cc/picture_pile.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698