Index: net/base/cookie_monster.cc |
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc |
index e24b6be5ca6457954e49e35d30646613f729cd5a..f0cb121acc3f4f304580bcaaf7b5b32b70e8d8f3 100644 |
--- a/net/base/cookie_monster.cc |
+++ b/net/base/cookie_monster.cc |
@@ -981,8 +981,9 @@ int CookieMonster::TrimDuplicateCookiesForKey( |
void CookieMonster::SetDefaultCookieableSchemes() { |
// Note: file must be the last scheme. |
- static const char* kDefaultCookieableSchemes[] = { "http", "https", "file" }; |
- int num_schemes = enable_file_scheme_ ? 3 : 2; |
+ static const char* kDefaultCookieableSchemes[] = |
+ { "http", "https", "file" }; |
+ int num_schemes = enable_file_scheme_ ? 4 : 3; |
SetCookieableSchemes(kDefaultCookieableSchemes, num_schemes); |
} |