| Index: net/quic/crypto/quic_random.cc
|
| diff --git a/net/quic/crypto/quic_random.cc b/net/quic/crypto/quic_random.cc
|
| index 5670e34f03169d8519387596474146c96e557233..ad130a0858dff6a06125094bd87a42678787d669 100644
|
| --- a/net/quic/crypto/quic_random.cc
|
| +++ b/net/quic/crypto/quic_random.cc
|
| @@ -5,6 +5,7 @@
|
| #include "net/quic/crypto/quic_random.h"
|
|
|
| #include "base/logging.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/singleton.h"
|
| #include "crypto/random.h"
|
|
|
| @@ -18,7 +19,7 @@ class DefaultRandom : public QuicRandom {
|
|
|
| // QuicRandom implementation
|
| void RandBytes(void* data, size_t len) override;
|
| - uint64 RandUint64() override;
|
| + uint64_t RandUint64() override;
|
| void Reseed(const void* additional_entropy, size_t entropy_len) override;
|
|
|
| private:
|
| @@ -37,8 +38,8 @@ void DefaultRandom::RandBytes(void* data, size_t len) {
|
| crypto::RandBytes(data, len);
|
| }
|
|
|
| -uint64 DefaultRandom::RandUint64() {
|
| - uint64 value;
|
| +uint64_t DefaultRandom::RandUint64() {
|
| + uint64_t value;
|
| RandBytes(&value, sizeof(value));
|
| return value;
|
| }
|
|
|