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) |