Chromium Code Reviews| Index: net/quic/crypto/proof_verifier_chromium.cc |
| diff --git a/net/quic/crypto/proof_verifier_chromium.cc b/net/quic/crypto/proof_verifier_chromium.cc |
| index 43cd52bacf986153f4efef483192d64a99a4ed9c..60f893174938cc204265775cb44b657f17e1c8c9 100644 |
| --- a/net/quic/crypto/proof_verifier_chromium.cc |
| +++ b/net/quic/crypto/proof_verifier_chromium.cc |
| @@ -31,6 +31,12 @@ using std::vector; |
| namespace net { |
| +ProofVerifyDetails* ProofVerifyDetailsChromium::Clone() const { |
| + ProofVerifyDetailsChromium* other = new ProofVerifyDetailsChromium; |
| + other->cert_verify_result.CopyFrom(cert_verify_result); |
|
wtc
2014/07/29 01:48:24
I wonder why we don't just do
other->cert_verif
Ryan Hamilton
2014/07/29 17:04:50
Done. I wonder why it has a CopyFrom method?
|
| + return NULL; |
|
wtc
2014/07/29 01:48:24
BUG: return other;
You owe me a lunch :-)
Ryan Hamilton
2014/07/29 17:04:50
Done. (I had not yet verified the fix :>)
|
| +} |
| + |
| // A Job handles the verification of a single proof. It is owned by the |
| // ProofVerifier. If the verification can not complete synchronously, it |
| // will notify the ProofVerifier upon completion. |