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

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

Issue 11772005: Implement a prototype to render cross-site iframes in a separate process from their parent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing Task Manager code and fixing issues raised by Charlie. Created 7 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
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 4ef76db9f0702802353b1b4ec9cf0a2bb14a357b..ff99c20b586f86abb3468e3dba73058232c26782 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1247,8 +1247,8 @@ void RenderViewHostImpl::OnNavigate(const IPC::Message& msg) {
validated_params.url) ||
static_cast<SiteInstanceImpl*>(GetSiteInstance())->
HasWrongProcessForURL(validated_params.url)) {
- base::KillProcess(process->GetHandle(), RESULT_CODE_KILLED, true);
- UMA_HISTOGRAM_COUNTS("ChildProcess.ViolatedSitePerProcess", 1);
+ // TODO(nasko): Removed the actual kill process call until out-of-process
+ // iframes is ready to go.
}
}

Powered by Google App Engine
This is Rietveld 408576698