| Index: chrome_frame/test/test_server_test.cc
|
| diff --git a/chrome_frame/test/test_server_test.cc b/chrome_frame/test/test_server_test.cc
|
| index cc52a39899d81d264beae7c2c66349392e82f0bd..f520eba5836f859e6b601623d660960bc6b1612c 100644
|
| --- a/chrome_frame/test/test_server_test.cc
|
| +++ b/chrome_frame/test/test_server_test.cc
|
| @@ -62,9 +62,10 @@ class ScopedInternet {
|
|
|
| class TestURLRequest : public net::URLRequest {
|
| public:
|
| - TestURLRequest(const GURL& url, Delegate* delegate)
|
| - : net::URLRequest(url, delegate) {
|
| - set_context(new TestURLRequestContext());
|
| + TestURLRequest(const GURL& url,
|
| + Delegate* delegate,
|
| + TestURLRequestContext* context)
|
| + : net::URLRequest(url, delegate, context) {
|
| }
|
| };
|
|
|
| @@ -79,7 +80,8 @@ class UrlTaskChain {
|
|
|
| MessageLoopForIO loop;
|
|
|
| - TestURLRequest r(GURL(url_), &delegate_);
|
| + TestURLRequestContext context;
|
| + TestURLRequest r(GURL(url_), &delegate_, &context);
|
| r.Start();
|
| EXPECT_TRUE(r.is_pending());
|
|
|
|
|