diff options
Diffstat (limited to 'content/browser/tab_contents/interstitial_page_impl.cc')
-rw-r--r-- | content/browser/tab_contents/interstitial_page_impl.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/browser/tab_contents/interstitial_page_impl.cc b/content/browser/tab_contents/interstitial_page_impl.cc index 8a91f42..9f5184b 100644 --- a/content/browser/tab_contents/interstitial_page_impl.cc +++ b/content/browser/tab_contents/interstitial_page_impl.cc @@ -273,8 +273,7 @@ void InterstitialPageImpl::Hide() { // (Note that in unit-tests the RVH may not have a view). if (render_view_host_->view() && render_view_host_->view()->HasFocus() && tab_->GetRenderViewHost()->view()) { - RenderWidgetHostViewBase::FromRWHV( - tab_->GetRenderViewHost()->view())->Focus(); + tab_->GetRenderViewHost()->view()->Focus(); } render_view_host_->Shutdown(); @@ -595,7 +594,7 @@ void InterstitialPageImpl::SetSize(const gfx::Size& size) { void InterstitialPageImpl::Focus() { // Focus the native window. - RenderWidgetHostViewBase::FromRWHV(render_view_host_->view())->Focus(); + render_view_host_->view()->Focus(); } void InterstitialPageImpl::FocusThroughTabTraversal(bool reverse) { |