summaryrefslogtreecommitdiffstats
path: root/net/base/crl_set.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 18:18:16 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 18:18:16 +0000
commit192c2244899a255a154ae79eb2db23fdc6242c51 (patch)
tree71e1f1bf8587631b4704ae4fb009aff2e0a03310 /net/base/crl_set.cc
parent4deb745bea1e37c47c7e63ac42a1dee0dadb1a51 (diff)
downloadchromium_src-192c2244899a255a154ae79eb2db23fdc6242c51.zip
chromium_src-192c2244899a255a154ae79eb2db23fdc6242c51.tar.gz
chromium_src-192c2244899a255a154ae79eb2db23fdc6242c51.tar.bz2
Followup to address post-commit comments on 9041015
http://codereview.chromium.org/9041015/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/crl_set.cc')
-rw-r--r--net/base/crl_set.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/crl_set.cc b/net/base/crl_set.cc
index 9414870..528d476 100644
--- a/net/base/crl_set.cc
+++ b/net/base/crl_set.cc
@@ -311,8 +311,9 @@ bool ReadDeltaCRL(base::StringPiece* data,
return true;
}
-bool CRLSet::ApplyDelta(base::StringPiece data,
+bool CRLSet::ApplyDelta(const base::StringPiece& in_data,
scoped_refptr<CRLSet>* out_crl_set) {
+ base::StringPiece data(in_data);
scoped_ptr<DictionaryValue> header_dict(ReadHeader(&data));
if (!header_dict.get())
return false;