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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 958083002: PlzNavigate: Show error pages when the navigation failed before commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support-data-urls
Patch Set: Changed the way replace is computed for failed loads Created 5 years, 8 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/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index 4f9f2f733053606a83d5d92f5180221d3b1caf32..31aa728216b858358b5076510e74e8525f8691ab 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -1865,7 +1865,7 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest(
info.common_params.url,
resource_type,
resource_context))) {
- loader->NotifyRequestFailed(net::ERR_ABORTED);
+ loader->NotifyRequestFailed(false, net::ERR_ABORTED);
return;
}

Powered by Google App Engine
This is Rietveld 408576698