| Index: chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
|
| index d2a03177d576b83c7a3a0a455513ad453f71761e..18efd6cb515dd304a06abb6a1521540bbc1c8e1b 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
|
| @@ -118,14 +118,10 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
|
| return chromeos::AccessibilityManager::Get()->IsAutoclickEnabled();
|
| }
|
|
|
| - virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE {
|
| - Profile* profile = ProfileManager::GetDefaultProfile();
|
| - if (!profile)
|
| - return false;
|
| -
|
| - PrefService* user_pref_service = profile->GetPrefs();
|
| - return user_pref_service && user_pref_service->GetBoolean(
|
| - prefs::kShouldAlwaysShowAccessibilityMenu);
|
| + virtual bool ShouldShowAccessibilityMenu() const OVERRIDE {
|
| + DCHECK(chromeos::AccessibilityManager::Get());
|
| + return chromeos::AccessibilityManager::Get()->
|
| + ShouldShowAccessibilityMenu();
|
| }
|
|
|
| virtual void SilenceSpokenFeedback() const OVERRIDE {
|
|
|