| Index: net/cert/ct_serialization.cc
|
| diff --git a/net/cert/ct_serialization.cc b/net/cert/ct_serialization.cc
|
| index 60d9426342320435886b275969cb2b5f97641563..64a6ff5c5d097a0b77d2ced8ec4640ab87049461 100644
|
| --- a/net/cert/ct_serialization.cc
|
| +++ b/net/cert/ct_serialization.cc
|
| @@ -383,15 +383,15 @@ void EncodeTreeHeadSignature(const SignedTreeHead& signed_tree_head,
|
| output);
|
| }
|
|
|
| -bool DecodeSCTList(base::StringPiece* input,
|
| +bool DecodeSCTList(base::StringPiece input,
|
| std::vector<base::StringPiece>* output) {
|
| std::vector<base::StringPiece> result;
|
| - if (!ReadList(kSCTListLengthBytes, kSerializedSCTLengthBytes,
|
| - input, &result)) {
|
| + if (!ReadList(kSCTListLengthBytes, kSerializedSCTLengthBytes, &input,
|
| + &result)) {
|
| return false;
|
| }
|
|
|
| - if (!input->empty() || result.empty())
|
| + if (!input.empty() || result.empty())
|
| return false;
|
| output->swap(result);
|
| return true;
|
|
|