| Index: cc/tile_manager.cc
|
| diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
|
| index 643b0ec7c84a28f5c2150e9bbe379e78a5884ef3..057de9f4efbef486e2a6ab5035728ded1d852efc 100644
|
| --- a/cc/tile_manager.cc
|
| +++ b/cc/tile_manager.cc
|
| @@ -20,7 +20,7 @@ namespace {
|
|
|
| // Determine bin based on three categories of tiles: things we need now,
|
| // things we need soon, and eventually.
|
| -TileManagerBin BinFromTilePriority(const TilePriority& prio) {
|
| +inline TileManagerBin BinFromTilePriority(const TilePriority& prio) {
|
|
|
| // The amount of time for which we want to have prepainting coverage.
|
| const double prepainting_window_time_seconds = 1.0;
|
| @@ -131,20 +131,6 @@ void TileManager::UnregisterTile(Tile* tile) {
|
| DCHECK(false) << "Could not find tile version.";
|
| }
|
|
|
| -void TileManager::WillModifyTilePriority(
|
| - Tile* tile, WhichTree tree, const TilePriority& new_priority) {
|
| - // TODO(nduca): Do something smarter if reprioritization turns out to be
|
| - // costly.
|
| - ScheduleManageTiles();
|
| -}
|
| -
|
| -void TileManager::ScheduleManageTiles() {
|
| - if (manage_tiles_pending_)
|
| - return;
|
| - client_->ScheduleManageTiles();
|
| - manage_tiles_pending_ = true;
|
| -}
|
| -
|
| class BinComparator {
|
| public:
|
| bool operator() (const Tile* a, const Tile* b) const {
|
|
|