| Index: ash/common/system/chromeos/tray_caps_lock.cc
|
| diff --git a/ash/common/system/chromeos/tray_caps_lock.cc b/ash/common/system/chromeos/tray_caps_lock.cc
|
| index f0b91aa9a6edb8488c81e000c5b99f331807ed8e..003b9dd7372b947f8122ac37836c4e8d2d9f71fb 100644
|
| --- a/ash/common/system/chromeos/tray_caps_lock.cc
|
| +++ b/ash/common/system/chromeos/tray_caps_lock.cc
|
| @@ -15,7 +15,7 @@
|
| #include "base/sys_info.h"
|
| #include "grit/ash_resources.h"
|
| #include "grit/ash_strings.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/ime/chromeos/ime_keyboard.h"
|
| #include "ui/base/ime/chromeos/input_method_manager.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -114,9 +114,9 @@ class CapsLockDefaultView : public ActionableView {
|
| gfx::Size(text_size.width() + new_x - old_x, text_size.height()));
|
| }
|
|
|
| - void GetAccessibleState(ui::AXViewState* state) override {
|
| - state->role = ui::AX_ROLE_BUTTON;
|
| - state->name = text_label_->text();
|
| + void GetAccessibleNodeData(ui::AXNodeData* node_data) override {
|
| + node_data->role = ui::AX_ROLE_BUTTON;
|
| + node_data->SetName(text_label_->text());
|
| }
|
|
|
| // Overridden from ActionableView:
|
|
|