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

Unified Diff: chrome/browser/prerender/prerender_contents.cc

Issue 1144253003: Remove --enable-strict-site-isolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Charlie's fixes Created 5 years, 6 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 | content/browser/child_process_security_policy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.cc
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
index ebe6549f4edeea0b1ca5bcb98c2838849c8dc98b..fb7daa97816557294ef6be57a1d4ed3e29eaf13e 100644
--- a/chrome/browser/prerender/prerender_contents.cc
+++ b/chrome/browser/prerender/prerender_contents.cc
@@ -90,11 +90,11 @@ class PrerenderContents::WebContentsDelegateImpl
const OpenURLParams& params) override {
// |OpenURLFromTab| is typically called when a frame performs a navigation
// that requires the browser to perform the transition instead of WebKit.
- // Examples include prerendering a site that redirects to an app URL,
- // or if --enable-strict-site-isolation is specified and the prerendered
- // frame redirects to a different origin.
- // TODO(cbentzel): Consider supporting this if it is a common case during
- // prerenders.
+ // Examples include prerendering a site that redirects to an app URL, or if
+ // --site-per-process is specified and the prerendered frame redirects to a
+ // different origin.
+ // TODO(cbentzel): Consider supporting this for CURRENT_TAB dispositions, if
+ // it is a common case during prerenders.
prerender_contents_->Destroy(FINAL_STATUS_OPEN_URL);
return NULL;
}
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698