| Index: cc/resources/tile_manager_perftest.cc
|
| diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
|
| index 89a30920b4baa18eed5a783229305599d8f8fd9c..9ecd5ff02006775adb35011a6a6524e910d7e464 100644
|
| --- a/cc/resources/tile_manager_perftest.cc
|
| +++ b/cc/resources/tile_manager_perftest.cc
|
| @@ -100,7 +100,7 @@ class TileManagerPerfTest : public testing::Test {
|
|
|
| void CreateTiles(int count, TileVector* tiles) {
|
| // Roughly an equal amount of all bins.
|
| - int count_per_bin = count / NUM_BINS;
|
| + int count_per_bin = count / (MAX_BIN + 1);
|
| CreateBinTiles(count_per_bin, TilePriorityForNowBin(), tiles);
|
| CreateBinTiles(count_per_bin, TilePriorityForSoonBin(), tiles);
|
| CreateBinTiles(count_per_bin, TilePriorityForEventualBin(), tiles);
|
|
|