Index: chrome/browser/profiles/profile_info_cache.cc |
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc |
index f2fc487df0b0c73c4f5c29955c5a6da705569c86..c2e414899c4036c0cd094f7e5b924abc8dda16ab 100644 |
--- a/chrome/browser/profiles/profile_info_cache.cc |
+++ b/chrome/browser/profiles/profile_info_cache.cc |
@@ -735,7 +735,7 @@ void ProfileInfoCache::SetProfileIsUsingDefaultAvatarAtIndex( |
SetInfoForProfileAtIndex(index, info.release()); |
} |
-bool ProfileInfoCache::IsDefaultProfileName(const base::string16& name) { |
+bool ProfileInfoCache::IsDefaultProfileName(const base::string16& name) const { |
// Check if it's a "First user" old-style name. |
if (name == l10n_util::GetStringUTF16(IDS_DEFAULT_PROFILE_NAME) || |
name == l10n_util::GetStringUTF16(IDS_LEGACY_DEFAULT_PROFILE_NAME)) |