Index: content/shell/shell_url_request_context_getter.cc |
diff --git a/content/shell/shell_url_request_context_getter.cc b/content/shell/shell_url_request_context_getter.cc |
index dd74b9fa47ade562f442cf4a05c2d27f7e0c6b0e..b5abad2c16a38cb1b7480a7dbb1f2edc840b783a 100644 |
--- a/content/shell/shell_url_request_context_getter.cc |
+++ b/content/shell/shell_url_request_context_getter.cc |
@@ -11,6 +11,7 @@ |
#include "base/strings/string_util.h" |
#include "base/threading/worker_pool.h" |
#include "content/public/browser/browser_thread.h" |
+#include "content/public/browser/cookie_store_factory.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/url_constants.h" |
#include "content/shell/common/shell_switches.h" |
@@ -100,7 +101,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
url_request_context_->set_network_delegate(network_delegate_.get()); |
storage_.reset( |
new net::URLRequestContextStorage(url_request_context_.get())); |
- storage_->set_cookie_store(new net::CookieMonster(NULL, NULL)); |
+ storage_->set_cookie_store( |
+ content::CreateCookieStore(content::CookieStoreConfig())); |
storage_->set_server_bound_cert_service(new net::ServerBoundCertService( |
new net::DefaultServerBoundCertStore(NULL), |
base::WorkerPool::GetTaskRunner(true))); |