| Index: net/quic/core/crypto/crypto_secret_boxer.h
|
| diff --git a/net/quic/core/crypto/crypto_secret_boxer.h b/net/quic/core/crypto/crypto_secret_boxer.h
|
| index 07ab150c8f962a0be93448c35690acb487eb2358..14737e0ad8771cf9ab59134d0575abbafffa7b70 100644
|
| --- a/net/quic/core/crypto/crypto_secret_boxer.h
|
| +++ b/net/quic/core/crypto/crypto_secret_boxer.h
|
| @@ -12,8 +12,8 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/strings/string_piece.h"
|
| -#include "base/synchronization/lock.h"
|
| #include "net/quic/platform/api/quic_export.h"
|
| +#include "net/quic/platform/api/quic_mutex.h"
|
|
|
| namespace net {
|
|
|
| @@ -51,9 +51,8 @@ class QUIC_EXPORT_PRIVATE CryptoSecretBoxer {
|
| base::StringPiece* out) const;
|
|
|
| private:
|
| - mutable base::Lock lock_;
|
| - // GUARDED_BY(lock_).mutable Mutex lock_;
|
| - std::vector<std::string> keys_;
|
| + mutable QuicMutex lock_;
|
| + std::vector<std::string> keys_ GUARDED_BY(lock_);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CryptoSecretBoxer);
|
| };
|
|
|