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

Unified Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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/ssl/ssl_browser_tests.cc
diff --git a/chrome/browser/ssl/ssl_browser_tests.cc b/chrome/browser/ssl/ssl_browser_tests.cc
index b5f5f52f9c97c20fc4fb786fa49770f4dea5f54b..8c88a76f9ff4e2c0cde2c49b203a253275923e8d 100644
--- a/chrome/browser/ssl/ssl_browser_tests.cc
+++ b/chrome/browser/ssl/ssl_browser_tests.cc
@@ -15,6 +15,7 @@
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/renderer_host/render_view_host.h"
+#include "content/browser/renderer_host/test_render_view_host.h"
#include "content/public/browser/interstitial_page.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
@@ -390,7 +391,8 @@ IN_PROC_BROWSER_TEST_F(SSLUITest,
// Wait until we hear the load failure, and make sure we haven't swapped out
// the previous page. Prevents regression of http://crbug.com/82667.
load_failed_observer.Wait();
- EXPECT_FALSE(tab->GetRenderViewHost()->is_swapped_out());
+ EXPECT_FALSE(TestRenderViewHost::IsRenderViewHostSwappedOut(
+ tab->GetRenderViewHost()));
// We should be back at the original good page.
EXPECT_FALSE(browser()->GetSelectedWebContents()->GetInterstitialPage());
« no previous file with comments | « chrome/browser/sessions/restore_tab_helper.cc ('k') | chrome/browser/tab_contents/chrome_web_contents_view_gtk_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698