Index: cc/resources/tile_manager_unittest.cc |
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc |
index b85c286fd37c1327608860958aea19cf21bb120a..7bdb0185b555ba97cd12ef9d78e5608a4de2bac2 100644 |
--- a/cc/resources/tile_manager_unittest.cc |
+++ b/cc/resources/tile_manager_unittest.cc |
@@ -642,37 +642,13 @@ TEST_F(TileManagerTilePriorityQueueTest, RasterTilePriorityQueue) { |
// Renew all of the tile priorities. |
gfx::Rect viewport(50, 50, 100, 100); |
pending_layer_->HighResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
pending_layer_->LowResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
active_layer_->HighResTiling()->UpdateTilePriorities( |
- ACTIVE_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- active_layer_->render_target(), |
- active_layer_->draw_transform()); |
+ ACTIVE_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
active_layer_->LowResTiling()->UpdateTilePriorities( |
- ACTIVE_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- active_layer_->render_target(), |
- active_layer_->draw_transform()); |
+ ACTIVE_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
// Populate all tiles directly from the tilings. |
all_tiles.clear(); |
@@ -841,37 +817,13 @@ TEST_F(TileManagerTilePriorityQueueTest, EvictionTilePriorityQueue) { |
// Renew all of the tile priorities. |
gfx::Rect viewport(50, 50, 100, 100); |
pending_layer_->HighResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
pending_layer_->LowResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
active_layer_->HighResTiling()->UpdateTilePriorities( |
- ACTIVE_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- active_layer_->render_target(), |
- active_layer_->draw_transform()); |
+ ACTIVE_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
active_layer_->LowResTiling()->UpdateTilePriorities( |
- ACTIVE_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- active_layer_->render_target(), |
- active_layer_->draw_transform()); |
+ ACTIVE_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
// Populate all tiles directly from the tilings. |
all_tiles.clear(); |
@@ -1016,37 +968,13 @@ TEST_F(TileManagerTilePriorityQueueTest, |
// Renew all of the tile priorities. |
gfx::Rect viewport(layer_bounds); |
pending_layer_->HighResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
pending_layer_->LowResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_layer_->render_target(), |
- pending_layer_->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
pending_child_layer->HighResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_child_layer->render_target(), |
- pending_child_layer->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
pending_child_layer->LowResTiling()->UpdateTilePriorities( |
- PENDING_TREE, |
- viewport, |
- 1.0f, |
- 1.0, |
- NULL, |
- pending_child_layer->render_target(), |
- pending_child_layer->draw_transform()); |
+ PENDING_TREE, viewport, 1.0f, 1.0, OcclusionChecker<LayerImpl>()); |
// Populate all tiles directly from the tilings. |
all_tiles.clear(); |