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

Unified Diff: content/test/test_render_view_host_factory.cc

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 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_view_host_factory.h ('k') | content/test/test_web_contents.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_factory.cc
diff --git a/content/test/test_render_view_host_factory.cc b/content/test/test_render_view_host_factory.cc
index 3a2b0f3a27fd3809b8ba07233d67ef53089fddfa..3211dd021e7f7041a9e334b00cfddfac0cad8155 100644
--- a/content/test/test_render_view_host_factory.cc
+++ b/content/test/test_render_view_host_factory.cc
@@ -30,13 +30,15 @@ RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost(
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
+ int main_frame_routing_id,
bool swapped_out,
SessionStorageNamespace* session_storage) {
// See declaration of render_process_host_factory_ below.
static_cast<SiteInstanceImpl*>(instance)->
set_render_process_host_factory(render_process_host_factory_);
return new TestRenderViewHost(
- instance, delegate, widget_delegate, routing_id, swapped_out);
+ instance, delegate, widget_delegate, routing_id, main_frame_routing_id,
+ swapped_out);
}
} // namespace content
« no previous file with comments | « content/test/test_render_view_host_factory.h ('k') | content/test/test_web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698