Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / networking_private / networking_private_crypto.cc
index 7d91ca3..ddaf11c 100644 (file)
@@ -90,11 +90,10 @@ bool NetworkingPrivateCrypto::VerifyCredentials(
   der_cert.len = cert_data.length();
 
   // Parse into a certificate structure.
-  typedef scoped_ptr_malloc<
+  typedef scoped_ptr<
       CERTCertificate,
-      crypto::NSSDestroyer<CERTCertificate,
-                          CERT_DestroyCertificate> >
-      ScopedCERTCertificate;
+      crypto::NSSDestroyer<CERTCertificate, CERT_DestroyCertificate> >
+          ScopedCERTCertificate;
   ScopedCERTCertificate cert(CERT_NewTempCertificate(
       CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE));
   if (!cert.get()) {