| Index: cc/debug/invalidation_benchmark.cc
|
| diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
|
| index 8a9fc883224829329f72d473a20fc6f708fd0892..0cd68cb8d9a20cc2f3c7ca9a8d810204cded108a 100644
|
| --- a/cc/debug/invalidation_benchmark.cc
|
| +++ b/cc/debug/invalidation_benchmark.cc
|
| @@ -4,10 +4,11 @@
|
|
|
| #include "cc/debug/invalidation_benchmark.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <algorithm>
|
| #include <limits>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/rand_util.h"
|
| #include "base/values.h"
|
| #include "cc/layers/layer.h"
|
| @@ -126,10 +127,10 @@ bool InvalidationBenchmark::ProcessMessage(scoped_ptr<base::Value> value) {
|
| // high quality, but they need to be identical in each run. Therefore, we use a
|
| // LCG and keep the state locally in the benchmark.
|
| float InvalidationBenchmark::LCGRandom() {
|
| - const uint32 a = 1664525;
|
| - const uint32 c = 1013904223;
|
| + const uint32_t a = 1664525;
|
| + const uint32_t c = 1013904223;
|
| seed_ = a * seed_ + c;
|
| - return static_cast<float>(seed_) / std::numeric_limits<uint32>::max();
|
| + return static_cast<float>(seed_) / std::numeric_limits<uint32_t>::max();
|
| }
|
|
|
| } // namespace cc
|
|
|