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

Unified Diff: content/common/site_isolation_policy.cc

Issue 1639013002: Fix OOPIF-based <webview>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.cc
diff --git a/content/common/site_isolation_policy.cc b/content/common/site_isolation_policy.cc
index 60288700ca7141239288fe2fedb8a4af593b75d9..60deee961811ac2a2d98720fd899df37573be46f 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -6,6 +6,7 @@
#include "base/command_line.h"
#include "base/lazy_instance.h"
+#include "content/public/common/browser_plugin_guest_mode.h"
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
@@ -16,7 +17,8 @@ namespace content {
bool SiteIsolationPolicy::AreCrossProcessFramesPossible() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSitePerProcess) ||
- GetContentClient()->IsSupplementarySiteIsolationModeEnabled();
+ GetContentClient()->IsSupplementarySiteIsolationModeEnabled() ||
+ BrowserPluginGuestMode::UseCrossProcessFramesForGuests();
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698