summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authornasko <nasko@chromium.org>2016-03-25 16:09:41 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 23:11:21 +0000
commit53e2f800170d79b1d8279f545e24078ece58e4ff (patch)
treec73822afbc3b96a7c1dc60b31e52710d418466e4 /content/browser
parent556a28ca1c2e015dfb76d0f9728977ba627990a3 (diff)
downloadchromium_src-53e2f800170d79b1d8279f545e24078ece58e4ff.zip
chromium_src-53e2f800170d79b1d8279f545e24078ece58e4ff.tar.gz
chromium_src-53e2f800170d79b1d8279f545e24078ece58e4ff.tar.bz2
Remove kSwappedOutURL as it is now unused.
Since swapped out state on RenderFrameHost has been removed, there is no longer usage of kSwappedOutURL and the code can safely be removed. BUG=357747 Review URL: https://codereview.chromium.org/1833933002 Cr-Commit-Position: refs/heads/master@{#383398}
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/renderer_host/render_process_host_impl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index e52c354..1173f4f 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -2151,11 +2151,6 @@ void RenderProcessHostImpl::FilterURL(RenderProcessHost* rph,
if (empty_allowed && url->is_empty())
return;
- // The browser process should never hear the swappedout:// URL from any
- // of the renderer's messages. Check for this in debug builds, but don't
- // let it crash a release browser.
- DCHECK(GURL(kSwappedOutURL) != *url);
-
if (!url->is_valid()) {
// Have to use about:blank for the denied case, instead of an empty GURL.
// This is because the browser treats navigation to an empty GURL as a