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 e710248fec83954143ba47d1aa88f5c2c8bed7d0..d94a39a8cd2b4848ed2411657d85ee1f51dfbf16 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" |
@@ -391,7 +392,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()); |