| Index: content/browser/frame_host/interstitial_page_impl.cc
|
| diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
|
| index 6b704ba07cbd5e1f99c46c057af1914db4884c13..f2cac9c96e77496710d2e3b4e87a74395e8e4796 100644
|
| --- a/content/browser/frame_host/interstitial_page_impl.cc
|
| +++ b/content/browser/frame_host/interstitial_page_impl.cc
|
| @@ -432,6 +432,13 @@ void InterstitialPageImpl::UpdateTitle(
|
| controller_->delegate()->NotifyNavigationStateChanged(INVALIDATE_TYPE_TITLE);
|
| }
|
|
|
| +AccessibilityMode InterstitialPageImpl::GetAccessibilityMode() const {
|
| + if (web_contents_)
|
| + return static_cast<WebContentsImpl*>(web_contents_)->GetAccessibilityMode();
|
| + else
|
| + return AccessibilityModeOff;
|
| +}
|
| +
|
| RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() {
|
| return rvh_delegate_view_.get();
|
| }
|
| @@ -533,7 +540,11 @@ void InterstitialPageImpl::HandleKeyboardEvent(
|
| #if defined(OS_WIN)
|
| gfx::NativeViewAccessible
|
| InterstitialPageImpl::GetParentNativeViewAccessible() {
|
| - return render_widget_host_delegate_->GetParentNativeViewAccessible();
|
| + if (web_contents_) {
|
| + WebContentsImpl* wci = static_cast<WebContentsImpl*>(web_contents_);
|
| + return wci->GetParentNativeViewAccessible();
|
| + }
|
| + return NULL;
|
| }
|
| #endif
|
|
|
|
|