| 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 f4cca0dacdef83470656382dceb41b294557c8f8..9d36a649ca4f8479aa6527ce4aa0300478fc7caa 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -1206,6 +1206,10 @@ void RenderViewHostImpl::OnFocusedNodeChanged(
|
| }
|
| #endif
|
|
|
| + // None of the rest makes sense without a view.
|
| + if (!GetWidget()->GetView())
|
| + return;
|
| +
|
| // Convert node_bounds to screen coordinates.
|
| gfx::Rect view_bounds_in_screen = GetWidget()->GetView()->GetViewBounds();
|
| gfx::Point origin = node_bounds_in_viewport.origin();
|
|
|