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

Unified Diff: content/browser/android/content_view_core_impl.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/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 1b343c42732aff3da644dd2df347f387bf045924..361b5881c893e5765dd14b259dcde596d9e01c82 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -341,9 +341,8 @@ RenderWidgetHostViewAndroid*
if (web_contents_) {
rwhv = web_contents_->GetRenderWidgetHostView();
if (web_contents_->ShowingInterstitialPage()) {
- rwhv = static_cast<InterstitialPageImpl*>(
- web_contents_->GetInterstitialPage())->
- GetRenderViewHost()->GetView();
+ rwhv =
+ web_contents_->GetInterstitialPage()->GetRenderViewHost()->GetView();
Charlie Reis 2015/01/07 20:55:38 This can probably become GetInterstitialPage()->Ge
knn 2015/01/07 23:50:29 Done. Thanks!
}
}
return static_cast<RenderWidgetHostViewAndroid*>(rwhv);

Powered by Google App Engine
This is Rietveld 408576698