| Index: net/quic/crypto/quic_random.cc
|
| diff --git a/net/quic/crypto/quic_random.cc b/net/quic/crypto/quic_random.cc
|
| index c96f01a9139ea1508a7f2d6c91c49ba809175b10..73fce2ef2cfcc6b1ef5e422659774dbe1b7f9799 100644
|
| --- a/net/quic/crypto/quic_random.cc
|
| +++ b/net/quic/crypto/quic_random.cc
|
| @@ -19,7 +19,6 @@ class DefaultRandom : public QuicRandom {
|
| // QuicRandom implementation
|
| virtual void RandBytes(void* data, size_t len) OVERRIDE;
|
| virtual uint64 RandUint64() OVERRIDE;
|
| - virtual bool RandBool() OVERRIDE;
|
| virtual void Reseed(const void* additional_entropy,
|
| size_t entropy_len) OVERRIDE;
|
|
|
| @@ -45,12 +44,6 @@ uint64 DefaultRandom::RandUint64() {
|
| return value;
|
| }
|
|
|
| -bool DefaultRandom::RandBool() {
|
| - char value;
|
| - RandBytes(&value, sizeof(value));
|
| - return (value & 1) == 1;
|
| -}
|
| -
|
| void DefaultRandom::Reseed(const void* additional_entropy, size_t entropy_len) {
|
| // No such function exists in crypto/random.h.
|
| }
|
|
|