| Index: net/url_request/url_request_unittest.h
|
| ===================================================================
|
| --- net/url_request/url_request_unittest.h (revision 7227)
|
| +++ net/url_request/url_request_unittest.h (working copy)
|
| @@ -23,7 +23,6 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/http/http_network_layer.h"
|
| #include "net/url_request/url_request.h"
|
| -#include "net/proxy/proxy_resolver_null.h"
|
| #include "net/proxy/proxy_service.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "googleurl/src/url_util.h"
|
| @@ -35,7 +34,7 @@
|
| class TestURLRequestContext : public URLRequestContext {
|
| public:
|
| TestURLRequestContext() {
|
| - proxy_service_ = new net::ProxyService(new net::ProxyResolverNull);
|
| + proxy_service_ = net::ProxyService::CreateNull();
|
| http_transaction_factory_ =
|
| net::HttpNetworkLayer::CreateFactory(proxy_service_);
|
| }
|
|
|