Index: components/certificate_transparency/log_proof_fetcher_unittest.cc |
diff --git a/components/certificate_transparency/log_proof_fetcher_unittest.cc b/components/certificate_transparency/log_proof_fetcher_unittest.cc |
index 39a5f3dd6e17330d9f964bea4caf75adc4e401e6..c46039ebf473c722c670715504ab69e28701231b 100644 |
--- a/components/certificate_transparency/log_proof_fetcher_unittest.cc |
+++ b/components/certificate_transparency/log_proof_fetcher_unittest.cc |
@@ -4,6 +4,7 @@ |
#include "components/certificate_transparency/log_proof_fetcher.h" |
+#include <memory> |
#include <string> |
#include <utility> |
@@ -222,7 +223,7 @@ class LogProofFetcherTest : public ::testing::Test { |
kLogSchema, |
kLogHost, |
kLogPathPrefix)) { |
- scoped_ptr<LogGetResponseHandler> handler(new LogGetResponseHandler()); |
+ std::unique_ptr<LogGetResponseHandler> handler(new LogGetResponseHandler()); |
handler_ = handler.get(); |
net::URLRequestFilter::GetInstance()->AddHostnameInterceptor( |
@@ -306,7 +307,7 @@ class LogProofFetcherTest : public ::testing::Test { |
base::RunLoop run_loop_; |
net::TestURLRequestContext context_; |
safe_json::TestingJsonParser::ScopedFactoryOverride factory_override_; |
- scoped_ptr<LogProofFetcher> fetcher_; |
+ std::unique_ptr<LogProofFetcher> fetcher_; |
const GURL log_url_; |
LogGetResponseHandler* handler_; |
}; |