| Index: cc/layers/picture_image_layer_impl_unittest.cc
|
| diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc
|
| index 97d522aae36ebaad88e34f77254a6d90dc2565b2..e8c993fa9f56c2fc47018bcc3bbc531d6f2f0138 100644
|
| --- a/cc/layers/picture_image_layer_impl_unittest.cc
|
| +++ b/cc/layers/picture_image_layer_impl_unittest.cc
|
| @@ -66,10 +66,6 @@ class PictureImageLayerImplTest : public testing::Test {
|
| return make_scoped_ptr(layer);
|
| }
|
|
|
| - void UpdateDrawProperties() {
|
| - host_impl_.pending_tree()->UpdateDrawProperties();
|
| - }
|
| -
|
| protected:
|
| FakeImplProxy proxy_;
|
| FakeLayerTreeHostImpl host_impl_;
|
| @@ -97,29 +93,6 @@ TEST_F(PictureImageLayerImplTest, CalculateContentsScale) {
|
| EXPECT_EQ(layer->bounds(), content_bounds);
|
| }
|
|
|
| -TEST_F(PictureImageLayerImplTest, AreVisibleResourcesReady) {
|
| - scoped_ptr<TestablePictureImageLayerImpl> layer(CreateLayer(1, PENDING_TREE));
|
| - layer->SetBounds(gfx::Size(100, 200));
|
| - layer->SetDrawsContent(true);
|
| -
|
| - UpdateDrawProperties();
|
| -
|
| - float contents_scale_x;
|
| - float contents_scale_y;
|
| - gfx::Size content_bounds;
|
| - layer->CalculateContentsScale(2.f,
|
| - 3.f,
|
| - 4.f,
|
| - 1.f,
|
| - false,
|
| - &contents_scale_x,
|
| - &contents_scale_y,
|
| - &content_bounds);
|
| - layer->UpdateTilePriorities();
|
| -
|
| - EXPECT_TRUE(layer->AreVisibleResourcesReady());
|
| -}
|
| -
|
| TEST_F(PictureImageLayerImplTest, IgnoreIdealContentScale) {
|
| scoped_ptr<TestablePictureImageLayerImpl> pending_layer(
|
| CreateLayer(1, PENDING_TREE));
|
|
|