| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index d485fd9c64af2221c1e4da576ee7fb4d11034441..618bea163bccd241ff58eb70a655076a8ee6f6f6 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -2092,7 +2092,9 @@ void RenderViewHostImpl::NotifyMoveOrResizeStarted() {
|
|
|
| void RenderViewHostImpl::OnAccessibilityEvents(
|
| const std::vector<AccessibilityHostMsg_EventParams>& params) {
|
| - if (view_ && !is_swapped_out_) {
|
| + if ((accessibility_mode() & AccessibilityModeFlagPlatform) &&
|
| + view_ &&
|
| + !is_swapped_out_) {
|
| view_->CreateBrowserAccessibilityManagerIfNeeded();
|
| BrowserAccessibilityManager* manager =
|
| view_->GetBrowserAccessibilityManager();
|
|
|