summaryrefslogtreecommitdiffstats
path: root/components/certificate_transparency/log_proof_fetcher_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/certificate_transparency/log_proof_fetcher_unittest.cc')
-rw-r--r--components/certificate_transparency/log_proof_fetcher_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/certificate_transparency/log_proof_fetcher_unittest.cc b/components/certificate_transparency/log_proof_fetcher_unittest.cc
index 3d4383e..7782f7f 100644
--- a/components/certificate_transparency/log_proof_fetcher_unittest.cc
+++ b/components/certificate_transparency/log_proof_fetcher_unittest.cc
@@ -5,6 +5,7 @@
#include "components/certificate_transparency/log_proof_fetcher.h"
#include <string>
+#include <utility>
#include "base/macros.h"
#include "base/strings/stringprintf.h"
@@ -184,7 +185,7 @@ class LogProofFetcherTest : public ::testing::Test {
handler_ = handler.get();
net::URLRequestFilter::GetInstance()->AddHostnameInterceptor(
- kLogSchema, kLogHost, handler.Pass());
+ kLogSchema, kLogHost, std::move(handler));
fetcher_.reset(new LogProofFetcher(&context_));
}