summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/render_view_host_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/render_view_host_manager.cc')
-rw-r--r--content/browser/tab_contents/render_view_host_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/tab_contents/render_view_host_manager.cc b/content/browser/tab_contents/render_view_host_manager.cc
index 3fd25e6..30c6396b 100644
--- a/content/browser/tab_contents/render_view_host_manager.cc
+++ b/content/browser/tab_contents/render_view_host_manager.cc
@@ -610,7 +610,7 @@ void RenderViewHostManager::CommitPending() {
if (will_focus_location_bar)
delegate_->SetFocusToLocationBar(false);
else if (focus_render_view && render_view_host_->view())
- RenderWidgetHostViewBase::FromRWHV(render_view_host_->view())->Focus();
+ render_view_host_->view()->Focus();
std::pair<RenderViewHost*, RenderViewHost*> details =
std::make_pair(old_render_view_host, render_view_host_);