Index: net/base/x509_certificate_unittest.cc |
diff --git a/net/base/x509_certificate_unittest.cc b/net/base/x509_certificate_unittest.cc |
index 7e25cbbe6b900cdea2a8c2af3418f8f887b47250..a69df0a691d3dc7247d81737c0a6114edba47dcc 100644 |
--- a/net/base/x509_certificate_unittest.cc |
+++ b/net/base/x509_certificate_unittest.cc |
@@ -1026,7 +1026,7 @@ TEST(X509CertificateTest, Pickle) { |
Pickle pickle; |
cert->Persist(&pickle); |
- void* iter = NULL; |
+ PickleIterator iter(pickle); |
scoped_refptr<X509Certificate> cert_from_pickle = |
X509Certificate::CreateFromPickle( |
pickle, &iter, X509Certificate::PICKLETYPE_CERTIFICATE_CHAIN); |