| Index: content/child/webcrypto/webcrypto_util.cc
|
| diff --git a/content/child/webcrypto/webcrypto_util.cc b/content/child/webcrypto/webcrypto_util.cc
|
| index 7bedc43bb45b2a2c61a42f2c8ab80a4e44785355..b94cbea2208b3100edbb36cfcc02b9ee1e835f6a 100644
|
| --- a/content/child/webcrypto/webcrypto_util.cc
|
| +++ b/content/child/webcrypto/webcrypto_util.cc
|
| @@ -16,13 +16,13 @@ namespace content {
|
|
|
| namespace webcrypto {
|
|
|
| -const uint8* Uint8VectorStart(const std::vector<uint8>& data) {
|
| +const uint8_t* Uint8VectorStart(const std::vector<uint8_t>& data) {
|
| if (data.empty())
|
| return NULL;
|
| return &data[0];
|
| }
|
|
|
| -uint8* Uint8VectorStart(std::vector<uint8>* data) {
|
| +uint8_t* Uint8VectorStart(std::vector<uint8_t>* data) {
|
| if (data->empty())
|
| return NULL;
|
| return &(*data)[0];
|
| @@ -52,7 +52,7 @@ std::string Base64EncodeUrlSafe(const base::StringPiece& input) {
|
| return output;
|
| }
|
|
|
| -std::string Base64EncodeUrlSafe(const std::vector<uint8>& input) {
|
| +std::string Base64EncodeUrlSafe(const std::vector<uint8_t>& input) {
|
| const base::StringPiece string_piece(
|
| reinterpret_cast<const char*>(Uint8VectorStart(input)), input.size());
|
| return Base64EncodeUrlSafe(string_piece);
|
|
|