Index: cc/resources/tile_manager_unittest.cc |
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc |
index fdd876ebd50d11096db8bf1c2777866bef763ce6..784fcf1efc1d57d19dc3bfd95da66d1dc05bb1bb 100644 |
--- a/cc/resources/tile_manager_unittest.cc |
+++ b/cc/resources/tile_manager_unittest.cc |
@@ -109,7 +109,7 @@ class TileManagerTilePriorityQueueTest : public testing::Test { |
if (old_pending_root) { |
pending_layer.reset( |
static_cast<FakePictureLayerImpl*>(old_pending_root.release())); |
- pending_layer->SetRasterSource(pile); |
+ pending_layer->SetRasterSourceOnPending(pile, Region(), false); |
} else { |
pending_layer = |
FakePictureLayerImpl::CreateWithRasterSource(pending_tree, id_, pile); |
@@ -124,14 +124,6 @@ class TileManagerTilePriorityQueueTest : public testing::Test { |
pending_layer_->DoPostCommitInitializationIfNeeded(); |
} |
- void CreateHighLowResAndSetAllTilesVisible() { |
- // Active layer must get updated first so pending layer can share from it. |
- active_layer_->CreateDefaultTilingsAndTiles(); |
- active_layer_->SetAllTilesVisible(); |
- pending_layer_->CreateDefaultTilingsAndTiles(); |
- pending_layer_->SetAllTilesVisible(); |
- } |
- |
TileManager* tile_manager() { return host_impl_.tile_manager(); } |
protected: |