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

Unified Diff: content/renderer/render_view_impl.cc

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: Make <webview> work without --site-per-process as well Created 5 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index eb9971320db4aaff0a97e71a2efcc757be981ee0..2be208403542131f6140cab7575f68c68c83da61 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -739,7 +739,10 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
}
// In --site-per-process, just use the WebRemoteFrame as the main frame.
- if (command_line.HasSwitch(switches::kSitePerProcess) && proxy) {
+ // Note that we don't do that for guests because postMessage to guest will
+ // break;
Charlie Reis 2015/04/30 23:06:47 nit: Period, not semicolon. :) But it also sound
lazyboy 2015/05/05 07:28:15 This is reverted as I'm not creating the proxy on
+ if (command_line.HasSwitch(switches::kSitePerProcess) &&
+ !params.is_guest && proxy) {
webview()->setMainFrame(proxy->web_frame());
// Initialize the WebRemoteFrame with information replicated from the
// browser process.

Powered by Google App Engine
This is Rietveld 408576698