Index: chrome/browser/chromeos/accessibility/accessibility_manager.cc |
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_manager.cc |
index 195c9c59170e8ca3017bc54b321cdcfe4ed527dd..da2a8c00141629c1ca9ee0ce96314958f2459c90 100644 |
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.cc |
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.cc |
@@ -215,9 +215,9 @@ void AccessibilityManager::PrefHandler::HandleProfileChanged( |
// If the user set a pref value on the login screen and is now starting a |
// session with a new profile, copy the pref value to the profile. |
if ((previous_profile && |
- ProfileHelper::IsSigninProfile(previous_profile) && |
+ previous_profile->IsLoginProfile() && |
current_profile->IsNewProfile() && |
- !ProfileHelper::IsSigninProfile(current_profile)) || |
+ !current_profile->IsLoginProfile()) || |
// Special case for Guest mode: |
// Guest mode launches a guest-mode browser process before session starts, |
// so the previous profile is null. |
@@ -428,7 +428,7 @@ void AccessibilityManager::LoadChromeVoxToUserScreen() { |
// ChromeVox will be injected directly into that screen. |
content::WebUI* login_web_ui = NULL; |
- if (ProfileHelper::IsSigninProfile(profile_)) { |
+ if (profile_->IsLoginProfile()) { |
LoginDisplayHost* login_display_host = LoginDisplayHostImpl::default_host(); |
if (login_display_host) { |
WebUILoginView* web_ui_login_view = |
@@ -703,7 +703,7 @@ void AccessibilityManager::Observe( |
case chrome::NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE: { |
// Update |profile_| when entering the login screen. |
Profile* profile = ProfileManager::GetDefaultProfile(); |
- if (ProfileHelper::IsSigninProfile(profile)) |
+ if (profile->IsLoginProfile()) |
SetProfile(profile); |
break; |
} |