| Index: android_webview/browser/net/aw_url_request_context_getter.cc
|
| diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc
|
| index eed948f0b17e84f6ad2ebf261ac7bf9486b93985..e22e625ad07224fd47df64b1a6e70196b02b929b 100644
|
| --- a/android_webview/browser/net/aw_url_request_context_getter.cc
|
| +++ b/android_webview/browser/net/aw_url_request_context_getter.cc
|
| @@ -54,12 +54,8 @@ AwURLRequestContextGetter::~AwURLRequestContextGetter() {
|
| void AwURLRequestContextGetter::Init() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
| - cookie_store_ = content::CreatePersistentCookieStore(
|
| - browser_context_->GetPath().Append(FILE_PATH_LITERAL("Cookies")),
|
| - true,
|
| - NULL,
|
| - NULL);
|
| - cookie_store_->GetCookieMonster()->SetPersistSessionCookies(true);
|
| + cookie_store_ = content::CreateCookieStore(
|
| + browser_context_->GetCookieStoreConfig());
|
|
|
| // The CookieMonster must be passed here so it happens synchronously to
|
| // the main thread initialization (to avoid race condition in another
|
|
|