| 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 d0c42284502c13f8da233591aa9d8a3314d75ef3..679d8885cbd56eb45384af36b12856578c5a9759 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;
|
|
|
| @@ -675,7 +676,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));
|
|
|