diff options
Diffstat (limited to 'chrome/browser/apps/shortcut_manager.cc')
-rw-r--r-- | chrome/browser/apps/shortcut_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/apps/shortcut_manager.cc b/chrome/browser/apps/shortcut_manager.cc index bb4e1ca..91f2330 100644 --- a/chrome/browser/apps/shortcut_manager.cc +++ b/chrome/browser/apps/shortcut_manager.cc @@ -70,7 +70,7 @@ void AppShortcutManager::RegisterProfilePrefs( AppShortcutManager::AppShortcutManager(Profile* profile) : profile_(profile), - is_profile_info_cache_observer_(false), + is_profile_attributes_storage_observer_(false), prefs_(profile->GetPrefs()), extension_registry_observer_(this), weak_ptr_factory_(this) { @@ -93,12 +93,12 @@ AppShortcutManager::AppShortcutManager(Profile* profile) // profile_manager might be NULL in testing environments. if (profile_manager) { profile_manager->GetProfileAttributesStorage().AddObserver(this); - is_profile_info_cache_observer_ = true; + is_profile_attributes_storage_observer_ = true; } } AppShortcutManager::~AppShortcutManager() { - if (g_browser_process && is_profile_info_cache_observer_) { + if (g_browser_process && is_profile_attributes_storage_observer_) { ProfileManager* profile_manager = g_browser_process->profile_manager(); // profile_manager might be NULL in testing environments or during shutdown. if (profile_manager) |