| Index: content/browser/tab_contents/render_view_host_manager.cc
|
| diff --git a/content/browser/tab_contents/render_view_host_manager.cc b/content/browser/tab_contents/render_view_host_manager.cc
|
| index 3fd25e646914c38a4f5c04481f7535897a80773a..c7e0ff7fa867d6eeffb1e3e797145c6979f0b754 100644
|
| --- a/content/browser/tab_contents/render_view_host_manager.cc
|
| +++ b/content/browser/tab_contents/render_view_host_manager.cc
|
| @@ -30,6 +30,7 @@
|
| using content::NavigationController;
|
| using content::NavigationEntry;
|
| using content::NavigationEntryImpl;
|
| +using content::RenderWidgetHostViewPort;
|
| using content::SiteInstance;
|
| using content::WebUIControllerFactory;
|
|
|
| @@ -610,7 +611,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();
|
| + RenderWidgetHostViewPort::FromRWHV(render_view_host_->view())->Focus();
|
|
|
| std::pair<RenderViewHost*, RenderViewHost*> details =
|
| std::make_pair(old_render_view_host, render_view_host_);
|
|
|