Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index a6f7a4567da0a113b7945b2b8058d651d49377af..aa8f77ebef64b6d7a757bc79681bfbb697a09b70 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -25,6 +25,7 @@ |
#include "base/values.h" |
#include "cc/base/switches.h" |
#include "content/browser/bad_message.h" |
+#include "content/browser/browser_plugin/browser_plugin_guest.h" |
#include "content/browser/child_process_security_policy_impl.h" |
#include "content/browser/dom_storage/session_storage_namespace_impl.h" |
#include "content/browser/frame_host/frame_tree.h" |
@@ -325,6 +326,10 @@ bool RenderViewHostImpl::CreateRenderView( |
params.enable_auto_resize = auto_resize_enabled(); |
params.min_size = min_size_for_auto_resize(); |
params.max_size = max_size_for_auto_resize(); |
+ params.is_inner_web_contents_in_site_per_process = |
nasko
2015/05/22 16:32:27
Why not use this conditional and set the proxy_rou
Charlie Reis
2015/05/22 23:44:31
+1
lazyboy
2015/05/26 16:32:54
OK.
Guess that's OK, we wanted to be explicit abou
|
+ base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kSitePerProcess) && |
+ BrowserPluginGuest::IsGuest(this); |
GetResizeParams(¶ms.initial_size); |
if (!is_active_) { |
params.replicated_frame_state = |