Index: chrome/browser/android/chrome_application.cc |
diff --git a/chrome/browser/android/chrome_application.cc b/chrome/browser/android/chrome_application.cc |
index 6614fc06422cc9bbac832426d99c1153c9cf7e9b..2477ed600bfbab34fe8368c7f147f7f3331667e3 100644 |
--- a/chrome/browser/android/chrome_application.cc |
+++ b/chrome/browser/android/chrome_application.cc |
@@ -22,7 +22,6 @@ |
#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/web_contents.h" |
#include "jni/ChromeApplication_jni.h" |
-#include "net/cookies/cookie_monster.h" |
#include "net/cookies/cookie_store.h" |
#include "net/url_request/url_request_context.h" |
#include "net/url_request/url_request_context_getter.h" |
@@ -34,10 +33,7 @@ namespace { |
void FlushCookiesOnIOThread( |
scoped_refptr<net::URLRequestContextGetter> getter) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
- getter->GetURLRequestContext() |
- ->cookie_store() |
- ->GetCookieMonster() |
- ->FlushStore(base::Closure()); |
+ getter->GetURLRequestContext()->cookie_store()->FlushStore(base::Closure()); |
} |
void FlushStoragePartition(content::StoragePartition* partition) { |