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

Unified Diff: content/test/test_renderer_host.cc

Issue 10171018: Create swapped-out opener RVHs after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove parameter comments. Created 8 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
« no previous file with comments | « content/test/test_renderer_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_renderer_host.cc
diff --git a/content/test/test_renderer_host.cc b/content/test/test_renderer_host.cc
index cd9aa34c9bd4c5403d7c7e8b2485a747cd2bd08f..58d3ac944c28380f1420898b2ee32277e66d2ef8 100644
--- a/content/test/test_renderer_host.cc
+++ b/content/test/test_renderer_host.cc
@@ -44,6 +44,7 @@ class TestRenderViewHostFactory : public RenderViewHostFactory {
content::SiteInstance* instance,
content::RenderViewHostDelegate* delegate,
int routing_id,
+ bool swapped_out,
content::SessionStorageNamespace* session_storage) OVERRIDE;
private:
@@ -78,11 +79,12 @@ content::RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost(
SiteInstance* instance,
RenderViewHostDelegate* delegate,
int 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, routing_id);
+ return new TestRenderViewHost(instance, delegate, routing_id, swapped_out);
}
// static
« no previous file with comments | « content/test/test_renderer_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698