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

Unified Diff: content/common/site_isolation_policy.cc

Issue 1199313006: Disable support for swapped out RenderFrame(Host) on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Leave swapped out in Android. Created 5 years, 3 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 2de3702902ab072a39383978cd8787439181ca56..bd7691f328a971cfffbe0da3e1d9ec5443bbf239 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -72,7 +72,11 @@ bool SiteIsolationPolicy::UseSubframeNavigationEntries() {
// static
bool SiteIsolationPolicy::IsSwappedOutStateForbidden() {
+#if defined(OS_ANDROID)
Charlie Reis 2015/09/29 19:58:22 nit: TODO(nasko): Fix Android issues and remove th
nasko 2015/09/29 22:36:13 Done.
return AreCrossProcessFramesPossible();
+#else
+ return true;
+#endif
}
// 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