Commit 32b99559 authored by Maggie Chen's avatar Maggie Chen Committed by Commit Bot

Remove a CHECK in TileManager::AreRequiredTilesReadyToDraw()

The bug for CHECK_EQ() was fixed. Remove this TODO.

Bug: 622080
Change-Id: I72dcd92171e73854b2be5c7c01a526a4bdb47f08
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2504068
Commit-Queue: vmpstr <vmpstr@chromium.org>
Reviewed-by: default avatarvmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821731}
parent 2431a91b
......@@ -1424,8 +1424,6 @@ bool TileManager::AreRequiredTilesReadyToDraw(
// draw.
for (; !raster_priority_queue->IsEmpty(); raster_priority_queue->Pop()) {
const auto& prioritized_tile = raster_priority_queue->Top();
// TODO(vmpstr): Check to debug crbug.com/622080. Remove when fixed.
CHECK_EQ(prioritized_tile.priority().priority_bin, TilePriority::NOW);
if (!prioritized_tile.tile()->draw_info().IsReadyToDraw())
return false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment