| Index: ash/common/system/tray/tray_background_view.cc
|
| diff --git a/ash/common/system/tray/tray_background_view.cc b/ash/common/system/tray/tray_background_view.cc
|
| index f2e83fd4d189cc385642f91858f84a067a851c65..7fa03a8f9fcb316a708960c7a33b5294670bb306 100644
|
| --- a/ash/common/system/tray/tray_background_view.cc
|
| +++ b/ash/common/system/tray/tray_background_view.cc
|
| @@ -17,7 +17,7 @@
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "grit/ash_resources.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/nine_image_painter_factory.h"
|
| #include "ui/compositor/layer.h"
|
| #include "ui/compositor/layer_animation_element.h"
|
| @@ -352,9 +352,9 @@ void TrayBackgroundView::ChildPreferredSizeChanged(views::View* child) {
|
| PreferredSizeChanged();
|
| }
|
|
|
| -void TrayBackgroundView::GetAccessibleState(ui::AXViewState* state) {
|
| - ActionableView::GetAccessibleState(state);
|
| - state->name = GetAccessibleNameForTray();
|
| +void TrayBackgroundView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| + ActionableView::GetAccessibleNodeData(node_data);
|
| + node_data->SetName(GetAccessibleNameForTray());
|
| }
|
|
|
| void TrayBackgroundView::AboutToRequestFocusFromTabTraversal(bool reverse) {
|
|
|