| Index: ui/views/window/dialog_delegate.cc
|
| diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
|
| index d98274cde71a90871a5fd96875f70838ca61cb3f..4fb35bbcbfc995f09bb843fe273b7050ce8da39c 100644
|
| --- a/ui/views/window/dialog_delegate.cc
|
| +++ b/ui/views/window/dialog_delegate.cc
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "build/build_config.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/strings/grit/ui_strings.h"
|
| @@ -254,9 +254,9 @@ View* DialogDelegateView::GetContentsView() {
|
| return this;
|
| }
|
|
|
| -void DialogDelegateView::GetAccessibleState(ui::AXViewState* state) {
|
| - state->name = GetWindowTitle();
|
| - state->role = ui::AX_ROLE_DIALOG;
|
| +void DialogDelegateView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| + node_data->SetName(GetWindowTitle());
|
| + node_data->role = ui::AX_ROLE_DIALOG;
|
| }
|
|
|
| void DialogDelegateView::ViewHierarchyChanged(
|
|
|