| Index: content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.cc b/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| index 8d3f11cba47bc494887ce2c022954c729fd6ed05..f8e6f5d079bcdb3e925d00ccd3edd343d0fca41e 100644
|
| --- a/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| +++ b/content/browser/renderer_host/legacy_render_widget_host_win.cc
|
| @@ -121,7 +121,7 @@ bool LegacyRenderWidgetHostHWND::Init() {
|
|
|
| AccessibilityMode mode =
|
| BrowserAccessibilityStateImpl::GetInstance()->accessibility_mode();
|
| - if (!(mode & ACCESSIBILITY_MODE_FLAG_NATIVE_APIS)) {
|
| + if (!mode.has(AccessibilityMode::NATIVE_APIS)) {
|
| // Attempt to detect screen readers or other clients who want full
|
| // accessibility support, by seeing if they respond to this event.
|
| NotifyWinEvent(EVENT_SYSTEM_ALERT, hwnd(), kIdScreenReaderHoneyPot,
|
| @@ -166,8 +166,7 @@ LRESULT LegacyRenderWidgetHostHWND::OnGetObject(UINT message,
|
| // enable basic accessibility support. (Full screen reader support is
|
| // detected later when specific more advanced APIs are accessed.)
|
| BrowserAccessibilityStateImpl::GetInstance()->AddAccessibilityModeFlags(
|
| - ACCESSIBILITY_MODE_FLAG_NATIVE_APIS |
|
| - ACCESSIBILITY_MODE_FLAG_WEB_CONTENTS);
|
| + AccessibilityMode::NATIVE_APIS | AccessibilityMode::WEB_CONTENTS);
|
| return static_cast<LRESULT>(0L);
|
| }
|
|
|
|
|