| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 94ceaad27f53ceb49ee3179e560888a841a80ff3..facc18a8687f44dee40016b933e11713d66d5b46 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -238,8 +238,13 @@ void ContentViewCoreImpl::InitJNI(JNIEnv* env, jobject obj) {
|
| RenderWidgetHostViewAndroid*
|
| ContentViewCoreImpl::GetRenderWidgetHostViewAndroid() {
|
| RenderWidgetHostView* rwhv = NULL;
|
| - if (web_contents_)
|
| + if (web_contents_) {
|
| rwhv = web_contents_->GetRenderWidgetHostView();
|
| + if (web_contents_->ShowingInterstitialPage()) {
|
| + rwhv = web_contents_->GetInterstitialPage()->
|
| + GetRenderViewHost()->GetView();
|
| + }
|
| + }
|
| return static_cast<RenderWidgetHostViewAndroid*>(rwhv);
|
| }
|
|
|
|
|