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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 8443005: Don't reload into an app process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index f95b4a7ae492b6e211798e759505cb52b07923b7..e28b5cb7970476da23ce8652f581953d86243a34 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -785,15 +785,6 @@ bool ChromeContentRendererClient::CrossesExtensionExtents(
old_url = frame->top()->opener()->top()->document().url();
}
- // If this is a reload, check whether it has the wrong process type. We
- // should send it to the browser if it's an extension URL (e.g., hosted app)
- // in a normal process, or if it's a process for an extension that has been
- // uninstalled.
- if (old_url == new_url) {
- if (is_extension_url != extension_dispatcher_->is_extension_process())
- return true;
- }
-
// TODO(creis): Temporary workaround for crbug.com/59285: Only return true if
// we would enter an extension app's extent from a non-app, or if we leave an
// extension with no web extent. We avoid swapping processes to exit a hosted

Powered by Google App Engine
This is Rietveld 408576698