Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
index 57c8beb8d7bcb7439e4b11f3d78b1801b7870c76..10b91ed6586bf3c52956c08cbe3f3e5b87889792 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
@@ -158,7 +158,7 @@ TEST_F(DataReductionProxyInterceptorTest, TestJobFactoryChaining) { |
net::TestDelegate d; |
scoped_ptr<net::URLRequest> req(default_context_->CreateRequest( |
- GURL("http://foo"), net::DEFAULT_PRIORITY, &d, nullptr)); |
+ GURL("http://foo"), net::DEFAULT_PRIORITY, &d)); |
req->Start(); |
base::RunLoop().Run(); |
@@ -252,7 +252,7 @@ TEST_F(DataReductionProxyInterceptorWithServerTest, TestBypass) { |
net::TestDelegate delegate; |
scoped_ptr<net::URLRequest> request( |
context().CreateRequest(direct().GetURL("/block10.html"), |
- net::DEFAULT_PRIORITY, &delegate, NULL)); |
+ net::DEFAULT_PRIORITY, &delegate)); |
request->Start(); |
EXPECT_TRUE(request->is_pending()); |
base::RunLoop().Run(); |
@@ -266,7 +266,7 @@ TEST_F(DataReductionProxyInterceptorWithServerTest, TestNoBypass) { |
net::TestDelegate delegate; |
scoped_ptr<net::URLRequest> request( |
context().CreateRequest(direct().GetURL("/noblock.html"), |
- net::DEFAULT_PRIORITY, &delegate, NULL)); |
+ net::DEFAULT_PRIORITY, &delegate)); |
request->Start(); |
EXPECT_TRUE(request->is_pending()); |
base::RunLoop().Run(); |
@@ -310,7 +310,7 @@ class DataReductionProxyInterceptorEndToEndTest : public testing::Test { |
// it. Returns the created URLRequest. |
scoped_ptr<net::URLRequest> CreateAndExecuteRequest(const GURL& url) { |
scoped_ptr<net::URLRequest> request( |
- context_.CreateRequest(url, net::IDLE, &delegate_, NULL)); |
+ context_.CreateRequest(url, net::IDLE, &delegate_)); |
request->Start(); |
drp_test_context_->RunUntilIdle(); |
return request.Pass(); |