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 5615cb1bc6188c5a4a114017de6f95948aa1cdef..5f314a7d651456c7685c5608817ced4343c9f585 100644 |
--- a/cc/test/fake_picture_layer_impl.cc |
+++ b/cc/test/fake_picture_layer_impl.cc |
@@ -13,11 +13,12 @@ namespace cc { |
FakePictureLayerImpl::FakePictureLayerImpl( |
LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<PicturePileImpl> pile) |
+ scoped_refptr<PicturePileImpl> pile, |
+ const gfx::Size& layer_bounds) |
: PictureLayerImpl(tree_impl, id), |
append_quads_count_(0) { |
pile_ = pile; |
- SetBounds(pile_->size()); |
+ SetBounds(layer_bounds); |
enne (OOO)
2014/04/11 20:19:51
Why do you need the explicit bounds here? Can you
ernstm
2014/04/11 23:43:51
Done. This was intended for new test cases.
|
} |
FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id) |