summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/resource_dispatcher_host.cc
diff options
context:
space:
mode:
authorpodivilov@chromium.org <podivilov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 12:58:00 +0000
committerpodivilov@chromium.org <podivilov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 12:58:00 +0000
commit42febbb6888dc065ac20521ed9ec65307baa56ed (patch)
tree8c069e9f4a6f0fae5d30cfa57e87f2311c402261 /content/browser/renderer_host/resource_dispatcher_host.cc
parentbe76b7e54fade17db9c7de99f8e1d8bf89a8417b (diff)
downloadchromium_src-42febbb6888dc065ac20521ed9ec65307baa56ed.zip
chromium_src-42febbb6888dc065ac20521ed9ec65307baa56ed.tar.gz
chromium_src-42febbb6888dc065ac20521ed9ec65307baa56ed.tar.bz2
Revert "Return a specific error code for unknown URL schemes."
Caused ~10% regression in morejs times. TBR=mkosiba@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/resource_dispatcher_host.cc')
-rw-r--r--content/browser/renderer_host/resource_dispatcher_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
index 165ad66..3c47be4 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -388,8 +388,7 @@ bool ResourceDispatcherHost::HandleExternalProtocol(
handler->OnResponseCompleted(
request_id,
- net::URLRequestStatus(net::URLRequestStatus::FAILED,
- net::ERR_UNKNOWN_URL_SCHEME),
+ net::URLRequestStatus(net::URLRequestStatus::FAILED, net::ERR_ABORTED),
std::string()); // No security info necessary.
return true;
}