Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: content/browser/frame_host/render_frame_host_manager_browsertest.cc

Issue 1849343004: Remove RenderFrameHostImplState and convert it to boolean. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_manager_browsertest.cc
diff --git a/content/browser/frame_host/render_frame_host_manager_browsertest.cc b/content/browser/frame_host/render_frame_host_manager_browsertest.cc
index b70475dd048d110978a3a99d35e47da350e37c88..8feb25401a804c90b973e7504cff0c3ea220569d 100644
--- a/content/browser/frame_host/render_frame_host_manager_browsertest.cc
+++ b/content/browser/frame_host/render_frame_host_manager_browsertest.cc
@@ -2407,7 +2407,7 @@ IN_PROC_BROWSER_TEST_F(RenderFrameHostManagerTest,
// The previous RFH should still be pending deletion, as we wait for either
// the SwapOut ACK or a timeout.
ASSERT_TRUE(rfh_a->IsRenderFrameLive());
- ASSERT_FALSE(rfh_a->IsRFHStateActive(rfh_a->rfh_state()));
+ ASSERT_FALSE(rfh_a->is_active());
// The corresponding RVH should not be pending deletion due to the proxy.
EXPECT_FALSE(root->render_manager()->IsViewPendingDeletion(
@@ -2465,7 +2465,7 @@ IN_PROC_BROWSER_TEST_F(RenderFrameHostManagerTest,
// The previous RFH and RVH should still be pending deletion, as we wait for
// either the SwapOut ACK or a timeout.
ASSERT_TRUE(rfh_a->IsRenderFrameLive());
- ASSERT_FALSE(rfh_a->IsRFHStateActive(rfh_a->rfh_state()));
+ ASSERT_FALSE(rfh_a->is_active());
EXPECT_TRUE(root->render_manager()->IsViewPendingDeletion(
rfh_a->render_view_host()));
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698