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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2846393002: Network service: fix perf issue caused by unnecessary DumpWithoutCrashing. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/browser/loader/navigation_url_loader_network_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 36978f6dc59879200b2315ca69726aa7397d7344..c3bdc96597fa31d81640aa966a66fc8521bda5f7 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -620,7 +620,8 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
// https://crbug.com/705508 is found.
if (IsBrowserSideNavigationEnabled() &&
IsResourceTypeFrame(resource_request->resource_type) &&
- !resource_request->resource_body_stream_url.SchemeIs(url::kBlobScheme)) {
+ !resource_request->resource_body_stream_url.SchemeIs(url::kBlobScheme) &&
+ !consumer_handle.is_valid()) {
base::debug::DumpWithoutCrashing();
}
« no previous file with comments | « content/browser/loader/navigation_url_loader_network_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698