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 73372bb7a99a5b33bd2e5a4a387b581e422a1e4a..1fcd782a8a3f551f2c4b6447bb55041b1e4f7250 100644 |
--- a/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
+++ b/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
@@ -13,6 +13,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" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -81,7 +82,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. |