Index: content/shell/browser/shell_url_request_context_getter.cc |
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc |
index dfdb85275d7b501dd0f3d834ba2a1624ff3b3e47..6ddfa14abed4694941c1d5fa220a9266992b6101 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -12,6 +12,7 @@ |
#include "base/threading/sequenced_worker_pool.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/browser/shell_network_delegate.h" |
@@ -101,7 +102,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))); |