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()); |