Index: ash/common/system/tray/system_tray.cc |
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc |
index 97ddaa066cacca7e6ddd2ba2a5d8969860945141..6d88484f5b81b143e465751afa707e6a3701eff9 100644 |
--- a/ash/common/system/tray/system_tray.cc |
+++ b/ash/common/system/tray/system_tray.cc |
@@ -97,7 +97,7 @@ class SystemBubbleWrapper { |
// If ChromeVox is enabled, focus the default item if no item is focused and |
// there isn't a delayed close. |
- if (WmShell::Get()->GetAccessibilityDelegate()->IsSpokenFeedbackEnabled() && |
+ if (WmShell::Get()->accessibility_delegate()->IsSpokenFeedbackEnabled() && |
!is_persistent) { |
bubble_->FocusDefaultIfNeeded(); |
} |
@@ -462,7 +462,7 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items, |
if (system_bubble_.get() && creation_type == BUBBLE_USE_EXISTING) { |
system_bubble_->bubble()->UpdateView(items, bubble_type); |
// If ChromeVox is enabled, focus the default item if no item is focused. |
- if (WmShell::Get()->GetAccessibilityDelegate()->IsSpokenFeedbackEnabled()) |
+ if (WmShell::Get()->accessibility_delegate()->IsSpokenFeedbackEnabled()) |
system_bubble_->bubble()->FocusDefaultIfNeeded(); |
} else { |
// Cleanup the existing bubble before showing a new one. Otherwise, it's |