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

Unified Diff: content/renderer/render_view_impl.cc

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase + fix nits Created 8 years, 3 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ad0d19abf0f789217ed8dc928a06a1beafba09ba..2bd91fe529d58966d608ce8cfc1ed5ed452d828e 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3147,10 +3147,6 @@ void RenderViewImpl::didFailProvisionalLoad(WebFrame* frame,
// from being dumb, WebCore doesn't expect it and it will cause a crash.
if (error.reason == net::ERR_ABORTED)
return;
- // Don't display an error message if the request was handled by an
- // external protocol handler.
- if (error.reason == net::ERR_UNKNOWN_URL_SCHEME)
- return;
// Make sure we never show errors in view source mode.
frame->enableViewSourceMode(false);
« no previous file with comments | « content/public/test/render_view_fake_resources_test.cc ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698