| Index: content/browser/accessibility/accessibility_ui.cc
|
| diff --git a/content/browser/accessibility/accessibility_ui.cc b/content/browser/accessibility/accessibility_ui.cc
|
| index 1a466469951b2a9586bd106f6a37ba8516c165cc..7384552366b2247057045eb4a6572e3dfe9e52f8 100644
|
| --- a/content/browser/accessibility/accessibility_ui.cc
|
| +++ b/content/browser/accessibility/accessibility_ui.cc
|
| @@ -105,14 +105,13 @@ bool HandleRequestCallback(BrowserContext* current_context,
|
| // Ignore processes that don't have a connection, such as crashed tabs.
|
| if (!widget->GetProcess()->HasConnection())
|
| continue;
|
| - if (!widget->IsRenderView())
|
| - continue;
|
| - RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
|
| - BrowserContext* context = rwhi->GetProcess()->GetBrowserContext();
|
| + RenderViewHost* rvh = RenderViewHost::From(widget);
|
| + if (!rvh)
|
| + continue;
|
| + BrowserContext* context = rvh->GetProcess()->GetBrowserContext();
|
| if (context != current_context)
|
| continue;
|
|
|
| - RenderViewHost* rvh = RenderViewHost::From(widget);
|
| rvh_list->Append(BuildTargetDescriptor(rvh));
|
| }
|
|
|
|
|