| Index: cc/resources/tile_manager_perftest.cc
|
| diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
|
| index 3b2df2a914bf163d10b8dc1457aad557426ab1c0..3f583f477ae3ba669e885d942c073c81198551a9 100644
|
| --- a/cc/resources/tile_manager_perftest.cc
|
| +++ b/cc/resources/tile_manager_perftest.cc
|
| @@ -180,13 +180,13 @@ class TileManagerPerfTest : public testing::Test {
|
| timer_.Reset();
|
| do {
|
| int count = tile_count;
|
| - for (TileManager::RasterTileIterator it(tile_manager(),
|
| - SAME_PRIORITY_FOR_BOTH_TREES);
|
| - it && count;
|
| - ++it) {
|
| - --count;
|
| + RasterTilePriorityQueue queue;
|
| + host_impl_.BuildRasterQueue(&queue, SAME_PRIORITY_FOR_BOTH_TREES);
|
| + while (count--) {
|
| + ASSERT_FALSE(queue.IsEmpty());
|
| + ASSERT_TRUE(queue.Top() != NULL);
|
| + queue.Pop();
|
| }
|
| - ASSERT_EQ(0, count);
|
| timer_.NextLap();
|
| } while (!timer_.HasTimeLimitExpired());
|
|
|
|
|