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