Index: content/browser/site_per_process_browsertest.cc |
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc |
index 37b78dc1d56fd15ba1161c6d5850c43dd319b846..0cc1b8f2deb0da9008b7a38fdfce6db5559a8b02 100644 |
--- a/content/browser/site_per_process_browsertest.cc |
+++ b/content/browser/site_per_process_browsertest.cc |
@@ -285,12 +285,9 @@ |
proxy_to_parent = child->render_manager()->GetProxyToParent(); |
EXPECT_TRUE(proxy_to_parent); |
EXPECT_TRUE(proxy_to_parent->cross_process_frame_connector()); |
- // The out-of-process iframe should have its own RenderWidgetHost, |
- // independent of any RenderViewHost. |
- EXPECT_NE( |
+ EXPECT_EQ( |
rvh->GetView(), |
proxy_to_parent->cross_process_frame_connector()->get_view_for_testing()); |
- EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost()); |
// Load another cross-site page into the same iframe. |
url = embedded_test_server()->GetURL("bar.com", "/title3.html"); |
@@ -320,10 +317,9 @@ |
} |
EXPECT_EQ(proxy_to_parent, child->render_manager()->GetProxyToParent()); |
EXPECT_TRUE(proxy_to_parent->cross_process_frame_connector()); |
- EXPECT_NE( |
+ EXPECT_EQ( |
child->current_frame_host()->render_view_host()->GetView(), |
proxy_to_parent->cross_process_frame_connector()->get_view_for_testing()); |
- EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost()); |
} |
// Disabled for flaky crashing: crbug.com/446575 |