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

Unified Diff: content/test/test_render_view_host.cc

Issue 117693002: Make RenderFrameHostManager swap RenderFrameHosts, not RenderViewHosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts Created 7 years 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_view_host.h ('k') | content/test/test_render_view_host_factory.h » ('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 5c13673b9f52bd53000d6afed75e0b750bafa45d..0754316f419f61ec70d8addb9a69c848c8c0425e 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -235,14 +235,12 @@ gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin()
TestRenderViewHost::TestRenderViewHost(
SiteInstance* instance,
RenderViewHostDelegate* delegate,
- RenderFrameHostDelegate* frame_delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
int main_frame_routing_id,
bool swapped_out)
: RenderViewHostImpl(instance,
delegate,
- frame_delegate,
widget_delegate,
routing_id,
main_frame_routing_id,
@@ -253,7 +251,8 @@ TestRenderViewHost::TestRenderViewHost(
simulate_fetch_via_proxy_(false),
simulate_history_list_was_cleared_(false),
contents_mime_type_("text/html"),
- opener_route_id_(MSG_ROUTING_NONE) {
+ opener_route_id_(MSG_ROUTING_NONE),
+ main_render_frame_host_(NULL) {
// TestRenderWidgetHostView installs itself into this->view_ in its
// constructor, and deletes itself when TestRenderWidgetHostView::Destroy() is
// called.
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698