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

Unified Diff: content/test/test_render_view_host.cc

Issue 1146403009: Revert of Bring RFH/RVH unit tests closer to reality of how RF/RV are initialized (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index d729fb6ef01dc20118149e978fe2e42c5b4109ab..0b7b8c105ad3dce383aabe8cdce92949d0a00922 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -246,10 +246,6 @@
set_renderer_initialized(true);
DCHECK(IsRenderViewLive());
opener_route_id_ = opener_route_id;
- RenderFrameHost* main_frame = GetMainFrame();
- if (main_frame)
- static_cast<RenderFrameHostImpl*>(main_frame)->SetRenderFrameCreated(true);
-
return true;
}
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698