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

Unified Diff: content/browser/renderer_host/render_view_host_factory.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
Index: content/browser/renderer_host/render_view_host_factory.cc
diff --git a/content/browser/renderer_host/render_view_host_factory.cc b/content/browser/renderer_host/render_view_host_factory.cc
index c9f307a18acc32a2905a8deb9d9a8ff87b350715..7bab2d4b9bef2d612a2b556e7d906634bd623f81 100644
--- a/content/browser/renderer_host/render_view_host_factory.cc
+++ b/content/browser/renderer_host/render_view_host_factory.cc
@@ -20,13 +20,15 @@ RenderViewHost* RenderViewHostFactory::Create(
SiteInstance* instance,
content::RenderViewHostDelegate* delegate,
int routing_id,
+ bool swapped_out,
SessionStorageNamespace* session_storage_namespace) {
if (factory_) {
- return factory_->CreateRenderViewHost(instance, delegate, routing_id,
+ return factory_->CreateRenderViewHost(instance, delegate,
+ routing_id, swapped_out,
session_storage_namespace);
}
return new RenderViewHostImpl(instance, delegate, routing_id,
- session_storage_namespace);
+ swapped_out, session_storage_namespace);
}
// static
« no previous file with comments | « content/browser/renderer_host/render_view_host_factory.h ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698