| Index: ui/message_center/views/toast_contents_view.cc
|
| diff --git a/ui/message_center/views/toast_contents_view.cc b/ui/message_center/views/toast_contents_view.cc
|
| index b67115a091ff9756978a0e97c3cee100b6b68b00..f7147125770866cbdf3079b2cf9b6a6bbde3bc40 100644
|
| --- a/ui/message_center/views/toast_contents_view.cc
|
| +++ b/ui/message_center/views/toast_contents_view.cc
|
| @@ -11,7 +11,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/time/time.h"
|
| #include "build/build_config.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/display/display.h"
|
| #include "ui/display/screen.h"
|
| #include "ui/gfx/animation/animation_delegate.h"
|
| @@ -309,10 +309,10 @@ void ToastContentsView::UpdatePreferredSize() {
|
| SetBoundsWithAnimation(bounds());
|
| }
|
|
|
| -void ToastContentsView::GetAccessibleState(ui::AXViewState* state) {
|
| +void ToastContentsView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| if (child_count() > 0)
|
| - child_at(0)->GetAccessibleState(state);
|
| - state->role = ui::AX_ROLE_WINDOW;
|
| + child_at(0)->GetAccessibleNodeData(node_data);
|
| + node_data->role = ui::AX_ROLE_WINDOW;
|
| }
|
|
|
| void ToastContentsView::ClickOnNotification(
|
|
|