| Index: net/url_request/url_request_test_util.cc
|
| diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
|
| index 0d1081b5950b46ea1c5c4eb21ab299989f5cfa2f..55f72cd89ba2f377c1258f449af08b727cd46252 100644
|
| --- a/net/url_request/url_request_test_util.cc
|
| +++ b/net/url_request/url_request_test_util.cc
|
| @@ -112,14 +112,13 @@ void TestURLRequestContext::Init() {
|
| context_storage_.set_job_factory(new net::URLRequestJobFactory);
|
| }
|
|
|
| -TestURLRequest::TestURLRequest(const GURL& url, Delegate* delegate)
|
| - : net::URLRequest(url, delegate),
|
| - context_(new TestURLRequestContext) {
|
| - set_context(context_.get());
|
| +TestURLRequest::TestURLRequest(const GURL& url,
|
| + Delegate* delegate,
|
| + TestURLRequestContext* context)
|
| + : net::URLRequest(url, delegate, context) {
|
| }
|
|
|
| TestURLRequest::~TestURLRequest() {
|
| - set_context(NULL);
|
| }
|
|
|
| TestURLRequestContextGetter::TestURLRequestContextGetter(
|
|
|