Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: net/ocsp/nss_ocsp_unittest.cc

Issue 657013003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/quic/quic_end_to_end_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ocsp/nss_ocsp_unittest.cc
diff --git a/net/ocsp/nss_ocsp_unittest.cc b/net/ocsp/nss_ocsp_unittest.cc
index 3df446ece53b19a89a8037383e1d23dfaf20f901..acbb785ba190f7fcd6003ec6d18b184f0c962025 100644
--- a/net/ocsp/nss_ocsp_unittest.cc
+++ b/net/ocsp/nss_ocsp_unittest.cc
@@ -91,9 +91,7 @@ class NssHttpTest : public ::testing::Test {
handler_ = handler.get();
URLRequestFilter::GetInstance()->AddHostnameInterceptor(
- "http",
- kAiaHost,
- handler.PassAs<URLRequestInterceptor>());
+ "http", kAiaHost, handler.Pass());
SetURLRequestContextForNSSHttpIO(&context_);
EnsureNSSHttpIOInit();
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/quic/quic_end_to_end_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698