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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1785153005: Remove SiteIsolationPolicy::IsSwappedOutStateForbidden(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on ToT. Created 4 years, 9 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/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 4a8e86b36ef797495dfc657c799570b1bfd82d86..173b4eda6757090736e4a38d275f82744a84106a 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -292,12 +292,11 @@ bool RenderViewHostImpl::CreateRenderView(
CHECK(main_frame_routing_id_ != MSG_ROUTING_NONE ||
proxy_route_id != MSG_ROUTING_NONE);
- // If swappedout:// is disabled, we should not set both main_frame_routing_id_
- // and proxy_route_id. Log cases that this happens (without crashing) to
- // track down https://crbug.com/574245.
+ // We should not set both main_frame_routing_id_ and proxy_route_id. Log
+ // cases that this happens (without crashing) to track down
+ // https://crbug.com/574245.
// TODO(creis): Remove this once we've found the cause.
- if (SiteIsolationPolicy::IsSwappedOutStateForbidden() &&
- main_frame_routing_id_ != MSG_ROUTING_NONE &&
+ if (main_frame_routing_id_ != MSG_ROUTING_NONE &&
proxy_route_id != MSG_ROUTING_NONE)
base::debug::DumpWithoutCrashing();
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698