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

Unified Diff: chrome/browser/ui/browser_focus_uitest.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: Created 5 years, 11 months 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: chrome/browser/ui/browser_focus_uitest.cc
diff --git a/chrome/browser/ui/browser_focus_uitest.cc b/chrome/browser/ui/browser_focus_uitest.cc
index 58411962d45b28e7448ba104a4c9ae6dd073731c..6556aa0c9d21abc6c41ae456d82222e69a0ce2a8 100644
--- a/chrome/browser/ui/browser_focus_uitest.cc
+++ b/chrome/browser/ui/browser_focus_uitest.cc
@@ -30,6 +30,7 @@
#include "content/public/browser/interstitial_page.h"
#include "content/public/browser/interstitial_page_delegate.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
@@ -172,7 +173,7 @@ class TestInterstitialPage : public content::InterstitialPageDelegate {
std::string GetHTMLContents() override { return html_contents_; }
RenderViewHost* render_view_host() {
- return interstitial_page_->GetRenderViewHostForTesting();
+ return interstitial_page_->GetMainFrame()->GetRenderViewHost();
}
void DontProceed() { interstitial_page_->DontProceed(); }
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_interstitial.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698