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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 389973004: cc: Give TilingData back a Size instead of a Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tilingsize: comments Created 6 years, 5 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/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 3e92bd5af21e98b48a306923a6fcf08747f5c989..a44c6cd77deeae1f34702e7e653112a97f16e248 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -17,9 +17,8 @@ FakePictureLayerImpl::FakePictureLayerImpl(
: PictureLayerImpl(tree_impl, id),
append_quads_count_(0) {
pile_ = pile;
- CHECK(pile->tiling_rect().origin() == gfx::Point());
- SetBounds(pile_->tiling_rect().size());
- SetContentBounds(pile_->tiling_rect().size());
+ SetBounds(pile_->tiling_size());
+ SetContentBounds(pile_->tiling_size());
}
FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl,
« no previous file with comments | « cc/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698