| Index: ios/net/cookies/cookie_store_ios.mm
|
| diff --git a/ios/net/cookies/cookie_store_ios.mm b/ios/net/cookies/cookie_store_ios.mm
|
| index 2767aa2029ef060e1928bd18e195596f236eaf8a..c6a5024b7d6d6ab877c32070516518dd21a611ae 100644
|
| --- a/ios/net/cookies/cookie_store_ios.mm
|
| +++ b/ios/net/cookies/cookie_store_ios.mm
|
| @@ -121,11 +121,8 @@ base::FilePath GetBinaryCookiesFilePath() {
|
| // Clears all cookies from the .binarycookies file.
|
| // Must be called from a thread where IO operations are allowed.
|
| // Preconditions: There must be no active WKWebViews present in the app.
|
| +// Note that the .binarycookies file is present only on iOS8+.
|
| void ClearAllCookiesFromBinaryCookiesFile() {
|
| - // The .binarycookies file is present only on iOS8+.
|
| - if (!base::ios::IsRunningOnIOS8OrLater()) {
|
| - return;
|
| - }
|
| base::FilePath path = GetBinaryCookiesFilePath();
|
| if (base::PathExists(path)) {
|
| bool success = base::DeleteFile(path, false);
|
|
|