| Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| index 570b21dc9bc60b0b61f5e18dd9e87192d163b8e3..14a82536b80dc6b45a7b58a2fb1d81cd5db09c10 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| @@ -20,6 +20,7 @@
|
| #include "content/public/test/test_browser_thread.h"
|
| #include "content/public/test/test_renderer_host.h"
|
| #include "net/url_request/url_request.h"
|
| +#include "net/url_request/url_request_context.h"
|
|
|
| using content::BrowserThread;
|
|
|
| @@ -648,7 +649,8 @@ TEST_F(ProtocolHandlerRegistryTest, MAYBE_TestOSRegistrationFailure) {
|
| }
|
|
|
| static void MakeRequest(const GURL& url, ProtocolHandlerRegistry* registry) {
|
| - net::URLRequest request(url, NULL);
|
| + net::URLRequestContext context;
|
| + net::URLRequest request(url, NULL, &context);
|
| BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
|
| MessageLoop::QuitClosure());
|
| scoped_refptr<net::URLRequestJob> job(registry->MaybeCreateJob(&request));
|
|
|