Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1251)

Unified Diff: content/browser/web_contents/web_contents_android.cc

Issue 789703004: Reflect the status of a request for accessing a blacklisted url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tested on Android/Desktop Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index d6ae9deacbf653a09f9aabc9913339e6c892689a..06684a7241e7347fdcaad6e5f8f1d2482e33e77b 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -123,9 +123,7 @@ RenderWidgetHostViewAndroid*
RenderWidgetHostView* rwhv = NULL;
rwhv = web_contents_->GetRenderWidgetHostView();
if (web_contents_->ShowingInterstitialPage()) {
- rwhv = static_cast<InterstitialPageImpl*>(
- web_contents_->GetInterstitialPage())->
- GetRenderViewHost()->GetView();
+ rwhv = web_contents_->GetInterstitialPage()->GetRenderViewHost()->GetView();
}
return static_cast<RenderWidgetHostViewAndroid*>(rwhv);
}

Powered by Google App Engine
This is Rietveld 408576698