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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 271533011: cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to TOT 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
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | cc/trees/layer_tree_host_common.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 3f5b82a7bc2929bf0495764ec9ae7034a8d8863d..8514bc32e7b58033de9505a3ad6e02bb19cf1354 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -19,6 +19,7 @@ FakePictureLayerImpl::FakePictureLayerImpl(
pile_ = pile;
CHECK(pile->tiling_rect().origin() == gfx::Point());
SetBounds(pile_->tiling_rect().size());
+ SetContentBounds(pile_->tiling_rect().size());
}
FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl,
@@ -28,6 +29,7 @@ FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl,
: PictureLayerImpl(tree_impl, id), append_quads_count_(0) {
pile_ = pile;
SetBounds(layer_bounds);
+ SetContentBounds(layer_bounds);
}
FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id)
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698