| Index: net/spdy/spdy_network_transaction_unittest.cc
|
| diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
|
| index 48c7fcf6cab3ad48b96965dd0a6acc82c451f5ad..8bf6ff163e8f420870d5876b2786bd213a4cf51b 100644
|
| --- a/net/spdy/spdy_network_transaction_unittest.cc
|
| +++ b/net/spdy/spdy_network_transaction_unittest.cc
|
| @@ -2485,11 +2485,8 @@ TEST_P(SpdyNetworkTransactionTest, RedirectGetRequest) {
|
| GetParam().protocol,
|
| false /* force_spdy_over_ssl*/,
|
| true /* force_spdy_always */);
|
| - scoped_ptr<URLRequest> r(
|
| - spdy_url_request_context.CreateRequest(GURL("http://www.google.com/"),
|
| - DEFAULT_PRIORITY,
|
| - &d,
|
| - NULL));
|
| + scoped_ptr<URLRequest> r(spdy_url_request_context.CreateRequest(
|
| + GURL("http://www.google.com/"), DEFAULT_PRIORITY, &d));
|
| spdy_url_request_context.socket_factory().
|
| AddSocketDataProvider(&data);
|
| spdy_url_request_context.socket_factory().
|
| @@ -2580,11 +2577,8 @@ TEST_P(SpdyNetworkTransactionTest, RedirectServerPush) {
|
| false /* force_spdy_over_ssl*/,
|
| true /* force_spdy_always */);
|
| {
|
| - scoped_ptr<URLRequest> r(
|
| - spdy_url_request_context.CreateRequest(GURL("http://www.google.com/"),
|
| - DEFAULT_PRIORITY,
|
| - &d,
|
| - NULL));
|
| + scoped_ptr<URLRequest> r(spdy_url_request_context.CreateRequest(
|
| + GURL("http://www.google.com/"), DEFAULT_PRIORITY, &d));
|
| spdy_url_request_context.socket_factory().
|
| AddSocketDataProvider(&data);
|
|
|
| @@ -2595,12 +2589,8 @@ TEST_P(SpdyNetworkTransactionTest, RedirectServerPush) {
|
| std::string contents("hello!");
|
| EXPECT_EQ(contents, d.data_received());
|
|
|
| - scoped_ptr<URLRequest> r2(
|
| - spdy_url_request_context.CreateRequest(
|
| - GURL("http://www.google.com/foo.dat"),
|
| - DEFAULT_PRIORITY,
|
| - &d2,
|
| - NULL));
|
| + scoped_ptr<URLRequest> r2(spdy_url_request_context.CreateRequest(
|
| + GURL("http://www.google.com/foo.dat"), DEFAULT_PRIORITY, &d2));
|
| spdy_url_request_context.socket_factory().
|
| AddSocketDataProvider(&data2);
|
|
|
|
|