diff options
Diffstat (limited to 'cc/resources')
-rw-r--r-- | cc/resources/tile_manager.cc | 2 | ||||
-rw-r--r-- | cc/resources/tile_manager.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc index 6c41a30..5a0338c 100644 --- a/cc/resources/tile_manager.cc +++ b/cc/resources/tile_manager.cc @@ -177,7 +177,7 @@ void TileManager::UnregisterTile(Tile* tile) { } bool TileManager::ShouldForceTasksRequiredForActivationToComplete() const { - return client_->ShouldForceTileUploadsRequiredForActivationToComplete(); + return GlobalState().tree_priority != SMOOTHNESS_TAKES_PRIORITY; } class BinComparator { diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h index ef8ccfb..01acf6e 100644 --- a/cc/resources/tile_manager.h +++ b/cc/resources/tile_manager.h @@ -27,8 +27,6 @@ class TileVersion; class CC_EXPORT TileManagerClient { public: virtual void DidInitializeVisibleTile() = 0; - virtual bool - ShouldForceTileUploadsRequiredForActivationToComplete() const = 0; virtual void NotifyReadyToActivate() = 0; protected: |