| Index: cc/tiles/tile_manager.cc
|
| diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
|
| index e92a3df33b30d368d9a0058b51b60785663f0eba..5301677da36c44070bd1f2119188686cc40bc4a7 100644
|
| --- a/cc/tiles/tile_manager.cc
|
| +++ b/cc/tiles/tile_manager.cc
|
| @@ -545,8 +545,8 @@ void TileManager::AssignGpuMemoryToTiles(
|
|
|
| tile->scheduled_priority_ = schedule_priority++;
|
|
|
| - DCHECK_IMPLIES(tile->draw_info().mode() != TileDrawInfo::OOM_MODE,
|
| - !tile->draw_info().IsReadyToDraw());
|
| + DCHECK((tile->draw_info().mode() == TileDrawInfo::OOM_MODE) ||
|
| + !tile->draw_info().IsReadyToDraw());
|
|
|
| // If the tile already has a raster_task, then the memory used by it is
|
| // already accounted for in memory_usage. Otherwise, we'll have to acquire
|
| @@ -856,8 +856,8 @@ bool TileManager::AreRequiredTilesReadyToDraw(
|
| client_->BuildRasterQueue(global_state_.tree_priority, type));
|
| for (; !all_queue->IsEmpty(); all_queue->Pop()) {
|
| Tile* tile = all_queue->Top().tile();
|
| - DCHECK_IMPLIES(tile->required_for_activation(),
|
| - tile->draw_info().IsReadyToDraw());
|
| + DCHECK(!tile->required_for_activation() ||
|
| + tile->draw_info().IsReadyToDraw());
|
| }
|
| #endif
|
| return true;
|
|
|