Index: chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
diff --git a/chrome/browser/ui/zoom/zoom_controller_browsertest.cc b/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
index 1d44bcc9e476756b6710d261274b2bd8ac0b69e5..4b8b2c623be53039f103ec81c882efbb3a14cb4a 100644 |
--- a/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
+++ b/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/ui_test_utils.h" |
#include "content/public/browser/render_process_host.h" |
+#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/test/browser_test_utils.h" |
@@ -40,7 +41,7 @@ IN_PROC_BROWSER_TEST_F(ZoomControllerBrowserTest, |
base::KillProcess(host->GetHandle(), 0, false); |
crash_observer.Wait(); |
} |
- EXPECT_FALSE(web_contents->GetRenderProcessHost()->HasConnection()); |
+ EXPECT_FALSE(web_contents->GetRenderViewHost()->IsRenderViewLive()); |
// The following attempt to change the zoom level for a crashed tab should |
// fail. |