Index: cc/tile_manager.cc |
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc |
index de7bf0d816e7929e8f8d49279bb82148879d829a..277f4cb656cb51a0cebb076dc412ae761d6fc095 100644 |
--- a/cc/tile_manager.cc |
+++ b/cc/tile_manager.cc |
@@ -34,7 +34,7 @@ const int kMaxPendingUploadBytes = 100 * 1024 * 1024; |
// 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; |
@@ -195,20 +195,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 { |