Index: cc/resources/picture_layer_tiling_unittest.cc |
diff --git a/cc/resources/picture_layer_tiling_unittest.cc b/cc/resources/picture_layer_tiling_unittest.cc |
index c871da4cb83f30bda568181792e12a13f86dafe8..07da353f33a9379cd6ba88896cf89acf96325ee9 100644 |
--- a/cc/resources/picture_layer_tiling_unittest.cc |
+++ b/cc/resources/picture_layer_tiling_unittest.cc |
@@ -1262,15 +1262,8 @@ TEST(PictureLayerTilingTest, TilingEvictionTileIteratorStaticViewport) { |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |
CHECK(output_surface->BindToClient(&output_surface_client)); |
TestSharedBitmapManager shared_bitmap_manager; |
- scoped_ptr<ResourceProvider> resource_provider = |
- ResourceProvider::Create(output_surface.get(), |
- &shared_bitmap_manager, |
- NULL, |
- NULL, |
- 0, |
- false, |
- 1, |
- false); |
+ scoped_ptr<ResourceProvider> resource_provider = ResourceProvider::Create( |
+ output_surface.get(), &shared_bitmap_manager, NULL, NULL, 0, false, 1); |
FakePictureLayerTilingClient client(resource_provider.get()); |
scoped_ptr<TestablePictureLayerTiling> tiling; |
@@ -1463,9 +1456,9 @@ TEST_F(PictureLayerTilingIteratorTest, AddTilingsToMatchScale) { |
client_.SetTileSize(tile_size); |
client_.set_tree(PENDING_TREE); |
- PictureLayerTilingSet active_set(&client_, layer_bounds); |
+ PictureLayerTilingSet active_set(&client_); |
- active_set.AddTiling(1.f); |
+ active_set.AddTiling(1.f, layer_bounds); |
VerifyTiles(active_set.tiling_at(0), |
1.f, |
@@ -1485,7 +1478,7 @@ TEST_F(PictureLayerTilingIteratorTest, AddTilingsToMatchScale) { |
base::Bind(&TileExists, true)); |
// Add the same tilings to the pending set. |
- PictureLayerTilingSet pending_set(&client_, layer_bounds); |
+ PictureLayerTilingSet pending_set(&client_); |
Region invalidation; |
pending_set.SyncTilings(active_set, layer_bounds, invalidation, 0.f); |