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

Unified Diff: content/browser/web_contents/web_contents_view_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_view_android.cc
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index b276b191409957a18e7aaeb0ae9ffac87ca8f78a..e41ede2f3ec25b3783dddf4131699562157fd5c9 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -45,9 +45,7 @@ void WebContentsViewAndroid::SetContentViewCore(
if (web_contents_->ShowingInterstitialPage()) {
rwhv = static_cast<RenderWidgetHostViewAndroid*>(
- static_cast<InterstitialPageImpl*>(
- web_contents_->GetInterstitialPage())->
- GetRenderViewHost()->GetView());
+ web_contents_->GetInterstitialPage()->GetRenderViewHost()->GetView());
if (rwhv)
rwhv->SetContentViewCore(content_view_core_);
}

Powered by Google App Engine
This is Rietveld 408576698