Index: content/browser/download/download_browsertest.cc |
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc |
index e21ae279028752fc8f3b0a1e93d23ff1ae681fd2..d516d9ade769b1e30f063c62787f9ed7966ff848 100644 |
--- a/content/browser/download/download_browsertest.cc |
+++ b/content/browser/download/download_browsertest.cc |
@@ -522,7 +522,7 @@ scoped_ptr<net::test_server::HttpResponse> HandleRequestAndSendRedirectResponse( |
response->set_code(net::HTTP_FOUND); |
response->AddCustomHeader("Location", target_url.spec()); |
} |
- return response.PassAs<net::test_server::HttpResponse>(); |
+ return response.Pass(); |
} |
// Creates a request handler for EmbeddedTestServer that responds with a HTTP |
@@ -546,7 +546,7 @@ scoped_ptr<net::test_server::HttpResponse> HandleRequestAndSendBasicResponse( |
response->set_content_type(content_type); |
response->set_content(body); |
} |
- return response.PassAs<net::test_server::HttpResponse>(); |
+ return response.Pass(); |
} |
// Creates a request handler for an EmbeddedTestServer that response with an |