| Index: chrome/browser/crash_recovery_browsertest.cc
|
| diff --git a/chrome/browser/crash_recovery_browsertest.cc b/chrome/browser/crash_recovery_browsertest.cc
|
| index a597a661e717a42f66d061673defe468025a457c..cdad7356abde78252256de85e9073a6fe6506083 100644
|
| --- a/chrome/browser/crash_recovery_browsertest.cc
|
| +++ b/chrome/browser/crash_recovery_browsertest.cc
|
| @@ -20,6 +20,9 @@
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_types.h"
|
| +#include "content/public/browser/render_frame_host.h"
|
| +#include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/render_widget_host_view.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| #include "net/test/embedded_test_server/embedded_test_server.h"
|
| @@ -106,6 +109,9 @@ IN_PROC_BROWSER_TEST_F(CrashRecoveryBrowserTest, Reload) {
|
| ASSERT_TRUE(ui_test_utils::GetCurrentTabTitle(browser(),
|
| &title_after_crash));
|
| EXPECT_NE(title_before_crash, title_after_crash);
|
| + ASSERT_TRUE(GetActiveWebContents()->GetMainFrame()->GetView()->IsShowing());
|
| + ASSERT_FALSE(
|
| + GetActiveWebContents()->GetRenderProcessHost()->IsProcessBackgrounded());
|
| }
|
|
|
| // Test that reload after a crash forces a cache revalidation.
|
|
|