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

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: review comments Created 6 years, 7 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_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 88dde4dbdc638e4b838773c4567e5eef0cbd90a8..6ba9e68bc805e71e66691d3ea1c8c88e6adca613 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)

Powered by Google App Engine
This is Rietveld 408576698